@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDedicatedIpPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to create a new dedicated IP pool.
NOOP
Constructor and Description |
---|
CreateDedicatedIpPoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDedicatedIpPoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPoolName()
The name of the dedicated IP pool.
|
List<Tag> |
getTags()
An object that defines the tags (keys and values) that you want to associate with the pool.
|
int |
hashCode() |
void |
setPoolName(String poolName)
The name of the dedicated IP pool.
|
void |
setTags(Collection<Tag> tags)
An object that defines the tags (keys and values) that you want to associate with the pool.
|
String |
toString()
Returns a string representation of this object.
|
CreateDedicatedIpPoolRequest |
withPoolName(String poolName)
The name of the dedicated IP pool.
|
CreateDedicatedIpPoolRequest |
withTags(Collection<Tag> tags)
An object that defines the tags (keys and values) that you want to associate with the pool.
|
CreateDedicatedIpPoolRequest |
withTags(Tag... tags)
An object that defines the tags (keys and values) that you want to associate with the pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPoolName(String poolName)
The name of the dedicated IP pool.
poolName
- The name of the dedicated IP pool.public String getPoolName()
The name of the dedicated IP pool.
public CreateDedicatedIpPoolRequest withPoolName(String poolName)
The name of the dedicated IP pool.
poolName
- The name of the dedicated IP pool.public List<Tag> getTags()
An object that defines the tags (keys and values) that you want to associate with the pool.
public void setTags(Collection<Tag> tags)
An object that defines the tags (keys and values) that you want to associate with the pool.
tags
- An object that defines the tags (keys and values) that you want to associate with the pool.public CreateDedicatedIpPoolRequest withTags(Tag... tags)
An object that defines the tags (keys and values) that you want to associate with the 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
- An object that defines the tags (keys and values) that you want to associate with the pool.public CreateDedicatedIpPoolRequest withTags(Collection<Tag> tags)
An object that defines the tags (keys and values) that you want to associate with the pool.
tags
- An object that defines the tags (keys and values) that you want to associate with the pool.public String toString()
toString
in class Object
Object.toString()
public CreateDedicatedIpPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()