public class IpRange extends Object implements Serializable, Cloneable
Describes an IPv4 range.
Constructor and Description |
---|
IpRange() |
Modifier and Type | Method and Description |
---|---|
IpRange |
clone() |
boolean |
equals(Object obj) |
String |
getCidrIp()
The IPv4 CIDR range.
|
int |
hashCode() |
void |
setCidrIp(String cidrIp)
The IPv4 CIDR range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IpRange |
withCidrIp(String cidrIp)
The IPv4 CIDR range.
|
public void setCidrIp(String cidrIp)
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix.
cidrIp
- The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify
a single IPv4 address, use the /32 prefix.public String getCidrIp()
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix.
public IpRange withCidrIp(String cidrIp)
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix.
cidrIp
- The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify
a single IPv4 address, use the /32 prefix.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.