@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ipv6Pool extends Object implements Serializable, Cloneable
Describes an IPv6 address pool.
| Constructor and Description |
|---|
Ipv6Pool() |
| Modifier and Type | Method and Description |
|---|---|
Ipv6Pool |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description for the address pool.
|
List<PoolCidrBlock> |
getPoolCidrBlocks()
The CIDR blocks for the address pool.
|
String |
getPoolId()
The ID of the address pool.
|
List<Tag> |
getTags()
Any tags for the address pool.
|
int |
hashCode() |
void |
setDescription(String description)
The description for the address pool.
|
void |
setPoolCidrBlocks(Collection<PoolCidrBlock> poolCidrBlocks)
The CIDR blocks for the address pool.
|
void |
setPoolId(String poolId)
The ID of the address pool.
|
void |
setTags(Collection<Tag> tags)
Any tags for the address pool.
|
String |
toString()
Returns a string representation of this object.
|
Ipv6Pool |
withDescription(String description)
The description for the address pool.
|
Ipv6Pool |
withPoolCidrBlocks(Collection<PoolCidrBlock> poolCidrBlocks)
The CIDR blocks for the address pool.
|
Ipv6Pool |
withPoolCidrBlocks(PoolCidrBlock... poolCidrBlocks)
The CIDR blocks for the address pool.
|
Ipv6Pool |
withPoolId(String poolId)
The ID of the address pool.
|
Ipv6Pool |
withTags(Collection<Tag> tags)
Any tags for the address pool.
|
Ipv6Pool |
withTags(Tag... tags)
Any tags for the address pool.
|
public void setPoolId(String poolId)
The ID of the address pool.
poolId - The ID of the address pool.public String getPoolId()
The ID of the address pool.
public Ipv6Pool withPoolId(String poolId)
The ID of the address pool.
poolId - The ID of the address pool.public void setDescription(String description)
The description for the address pool.
description - The description for the address pool.public String getDescription()
The description for the address pool.
public Ipv6Pool withDescription(String description)
The description for the address pool.
description - The description for the address pool.public List<PoolCidrBlock> getPoolCidrBlocks()
The CIDR blocks for the address pool.
public void setPoolCidrBlocks(Collection<PoolCidrBlock> poolCidrBlocks)
The CIDR blocks for the address pool.
poolCidrBlocks - The CIDR blocks for the address pool.public Ipv6Pool withPoolCidrBlocks(PoolCidrBlock... poolCidrBlocks)
The CIDR blocks for the address pool.
NOTE: This method appends the values to the existing list (if any). Use
setPoolCidrBlocks(java.util.Collection) or withPoolCidrBlocks(java.util.Collection) if you want
to override the existing values.
poolCidrBlocks - The CIDR blocks for the address pool.public Ipv6Pool withPoolCidrBlocks(Collection<PoolCidrBlock> poolCidrBlocks)
The CIDR blocks for the address pool.
poolCidrBlocks - The CIDR blocks for the address pool.public List<Tag> getTags()
Any tags for the address pool.
public void setTags(Collection<Tag> tags)
Any tags for the address pool.
tags - Any tags for the address pool.public Ipv6Pool withTags(Tag... tags)
Any tags for the address pool.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Any tags for the address pool.public Ipv6Pool withTags(Collection<Tag> tags)
Any tags for the address pool.
tags - Any tags for the address pool.public String toString()
toString in class ObjectObject.toString()