@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2SecurityGroupIpv6Range extends Object implements Serializable, Cloneable, StructuredPojo
A range of IPv6 addresses.
| Constructor and Description |
|---|
AwsEc2SecurityGroupIpv6Range() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2SecurityGroupIpv6Range |
clone() |
boolean |
equals(Object obj) |
String |
getCidrIpv6()
The IPv6 CIDR range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCidrIpv6(String cidrIpv6)
The IPv6 CIDR range.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2SecurityGroupIpv6Range |
withCidrIpv6(String cidrIpv6)
The IPv6 CIDR range.
|
public void setCidrIpv6(String cidrIpv6)
The IPv6 CIDR range. You can specify either a CIDR range or a source security group, but not both. To specify a single IPv6 address, use the /128 prefix length.
cidrIpv6 - The IPv6 CIDR range. You can specify either a CIDR range or a source security group, but not both. To
specify a single IPv6 address, use the /128 prefix length.public String getCidrIpv6()
The IPv6 CIDR range. You can specify either a CIDR range or a source security group, but not both. To specify a single IPv6 address, use the /128 prefix length.
public AwsEc2SecurityGroupIpv6Range withCidrIpv6(String cidrIpv6)
The IPv6 CIDR range. You can specify either a CIDR range or a source security group, but not both. To specify a single IPv6 address, use the /128 prefix length.
cidrIpv6 - The IPv6 CIDR range. You can specify either a CIDR range or a source security group, but not both. To
specify a single IPv6 address, use the /128 prefix length.public String toString()
toString in class ObjectObject.toString()public AwsEc2SecurityGroupIpv6Range clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.