public class StaleIpPermission extends Object implements Serializable
Constructor and Description |
---|
StaleIpPermission() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getFromPort()
The start of the port range for the TCP and UDP protocols, or an ICMP type number.
|
String |
getIpProtocol()
|
List<String> |
getIpRanges()
One or more IP ranges.
|
List<String> |
getPrefixListIds()
One or more prefix list IDs for an AWS service.
|
Integer |
getToPort()
The end of the port range for the TCP and UDP protocols, or an ICMP type number.
|
List<UserIdGroupPair> |
getUserIdGroupPairs()
One or more security group pairs.
|
int |
hashCode() |
void |
setFromPort(Integer fromPort)
The start of the port range for the TCP and UDP protocols, or an ICMP type number.
|
void |
setIpProtocol(String ipProtocol)
|
void |
setIpRanges(Collection<String> ipRanges)
One or more IP ranges.
|
void |
setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs for an AWS service.
|
void |
setToPort(Integer toPort)
The end of the port range for the TCP and UDP protocols, or an ICMP type number.
|
void |
setUserIdGroupPairs(Collection<UserIdGroupPair> userIdGroupPairs)
One or more security group pairs.
|
String |
toString() |
public void setFromPort(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.
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.public Integer getFromPort()
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 void setIpProtocol(String ipProtocol)
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
ipProtocol
- The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).public String getIpProtocol()
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> getIpRanges()
One or more IP ranges. Not applicable for stale security group rules.
public void setIpRanges(Collection<String> ipRanges)
One or more IP ranges. Not applicable for stale security group rules.
ipRanges
- One or more IP ranges. Not applicable for stale security group rules.public List<String> getPrefixListIds()
One or more prefix list IDs for an AWS service. Not applicable for stale security group rules.
public void setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs for an AWS service. Not applicable for stale security group rules.
prefixListIds
- One or more prefix list IDs for an AWS service. Not applicable for stale security group rules.public void setToPort(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.
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.public Integer getToPort()
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> getUserIdGroupPairs()
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 void setUserIdGroupPairs(Collection<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.
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.Copyright © 2010–2020. All rights reserved.