@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoipPool extends Object implements Serializable, Cloneable
Describes a customer-owned address pool.
Constructor and Description |
---|
CoipPool() |
Modifier and Type | Method and Description |
---|---|
CoipPool |
clone() |
boolean |
equals(Object obj) |
String |
getLocalGatewayRouteTableId()
The ID of the local gateway route table.
|
List<String> |
getPoolCidrs()
The address ranges of the address pool.
|
String |
getPoolId()
The ID of the address pool.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
void |
setPoolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.
|
void |
setPoolId(String poolId)
The ID of the address pool.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
CoipPool |
withLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
|
CoipPool |
withPoolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.
|
CoipPool |
withPoolCidrs(String... poolCidrs)
The address ranges of the address pool.
|
CoipPool |
withPoolId(String poolId)
The ID of the address pool.
|
CoipPool |
withTags(Collection<Tag> tags)
The tags.
|
CoipPool |
withTags(Tag... tags)
The tags.
|
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 CoipPool withPoolId(String poolId)
The ID of the address pool.
poolId
- The ID of the address pool.public List<String> getPoolCidrs()
The address ranges of the address pool.
public void setPoolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.
poolCidrs
- The address ranges of the address pool.public CoipPool withPoolCidrs(String... poolCidrs)
The address ranges of the address pool.
NOTE: This method appends the values to the existing list (if any). Use
setPoolCidrs(java.util.Collection)
or withPoolCidrs(java.util.Collection)
if you want to
override the existing values.
poolCidrs
- The address ranges of the address pool.public CoipPool withPoolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.
poolCidrs
- The address ranges of the address pool.public void setLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
localGatewayRouteTableId
- The ID of the local gateway route table.public String getLocalGatewayRouteTableId()
The ID of the local gateway route table.
public CoipPool withLocalGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
localGatewayRouteTableId
- The ID of the local gateway route table.public void setTags(Collection<Tag> tags)
The tags.
tags
- The tags.public CoipPool withTags(Tag... tags)
The tags.
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
- The tags.public CoipPool withTags(Collection<Tag> tags)
The tags.
tags
- The tags.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.