@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ipv6Range extends Object implements Serializable, Cloneable
[EC2-VPC only] Describes an IPv6 range.
Constructor and Description |
---|
Ipv6Range() |
Modifier and Type | Method and Description |
---|---|
Ipv6Range |
clone() |
boolean |
equals(Object obj) |
String |
getCidrIpv6()
The IPv6 CIDR range.
|
String |
getDescription()
A description for the security group rule that references this IPv6 address range.
|
int |
hashCode() |
void |
setCidrIpv6(String cidrIpv6)
The IPv6 CIDR range.
|
void |
setDescription(String description)
A description for the security group rule that references this IPv6 address range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Ipv6Range |
withCidrIpv6(String cidrIpv6)
The IPv6 CIDR range.
|
Ipv6Range |
withDescription(String description)
A description for the security group rule that references this IPv6 address range.
|
public void setCidrIpv6(String cidrIpv6)
The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
cidrIpv6
- The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify
a single IPv6 address, use the /128 prefix length.public String getCidrIpv6()
The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
public Ipv6Range withCidrIpv6(String cidrIpv6)
The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.
cidrIpv6
- The IPv6 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify
a single IPv6 address, use the /128 prefix length.public void setDescription(String description)
A description for the security group rule that references this IPv6 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 IPv6 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 IPv6 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 Ipv6Range withDescription(String description)
A description for the security group rule that references this IPv6 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 IPv6 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.