ToCopyableBuilder<StaleIpPermission.Builder,StaleIpPermission>
@Generated("software.amazon.awssdk:codegen") public class StaleIpPermission extends Object implements ToCopyableBuilder<StaleIpPermission.Builder,StaleIpPermission>
Describes a stale rule in a security group.
Modifier and Type | Class | Description |
---|---|---|
static interface |
StaleIpPermission.Builder |
Modifier and Type | Method | Description |
---|---|---|
static StaleIpPermission.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Integer |
fromPort() |
The start of the port range for the TCP and UDP protocols, or an ICMP type number.
|
int |
hashCode() |
|
String |
ipProtocol() |
|
List<String> |
ipRanges() |
One or more IP ranges.
|
List<String> |
prefixListIds() |
One or more prefix list IDs for an AWS service.
|
static Class<? extends StaleIpPermission.Builder> |
serializableBuilderClass() |
|
StaleIpPermission.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
Integer |
toPort() |
The end of the port range for the TCP and UDP protocols, or an ICMP type number.
|
String |
toString() |
|
List<UserIdGroupPair> |
userIdGroupPairs() |
One or more security group pairs.
|
public Integer fromPort()
The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1
indicates all ICMP types.
-1
indicates all ICMP types.public String ipProtocol()
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
tcp
, udp
, and icmp
) or number (see Protocol Numbers).public List<String> ipRanges()
One or more IP ranges. Not applicable for stale security group rules.
public List<String> prefixListIds()
One or more prefix list IDs for an AWS service. Not applicable for stale security group rules.
public Integer toPort()
The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1
indicates all ICMP types.
-1
indicates all ICMP types.public List<UserIdGroupPair> userIdGroupPairs()
One or more security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
public StaleIpPermission.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StaleIpPermission.Builder,StaleIpPermission>
public static StaleIpPermission.Builder builder()
public static Class<? extends StaleIpPermission.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.