@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
String |
getDescription()
A description for the security group rule that references this IPv4 address range.
|
int |
hashCode() |
void |
setCidrIp(String cidrIp)
The IPv4 CIDR range.
|
void |
setDescription(String description)
A description for the security group rule that references this IPv4 address range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IpRange |
withCidrIp(String cidrIp)
The IPv4 CIDR range.
|
IpRange |
withDescription(String description)
A description for the security group rule that references this IPv4 address 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 length.
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 length.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 length.
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 length.
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 length.public void setDescription(String description)
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
description
- A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$
public String getDescription()
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$
public IpRange withDescription(String description)
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
description
- A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.