@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePublicDnsNamespaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePublicDnsNamespaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePublicDnsNamespaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCreatorRequestId()
A unique string that identifies the request and that allows failed
CreatePublicDnsNamespace requests
to be retried without the risk of executing the operation twice. |
String |
getDescription()
A description for the namespace.
|
String |
getName()
The name that you want to assign to this namespace.
|
List<Tag> |
getTags()
The tags to add to the namespace.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreatePublicDnsNamespace requests
to be retried without the risk of executing the operation twice. |
void |
setDescription(String description)
A description for the namespace.
|
void |
setName(String name)
The name that you want to assign to this namespace.
|
void |
setTags(Collection<Tag> tags)
The tags to add to the namespace.
|
String |
toString()
Returns a string representation of this object.
|
CreatePublicDnsNamespaceRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreatePublicDnsNamespace requests
to be retried without the risk of executing the operation twice. |
CreatePublicDnsNamespaceRequest |
withDescription(String description)
A description for the namespace.
|
CreatePublicDnsNamespaceRequest |
withName(String name)
The name that you want to assign to this namespace.
|
CreatePublicDnsNamespaceRequest |
withTags(Collection<Tag> tags)
The tags to add to the namespace.
|
CreatePublicDnsNamespaceRequest |
withTags(Tag... tags)
The tags to add to the namespace.
|
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 setName(String name)
The name that you want to assign to this namespace.
name
- The name that you want to assign to this namespace.public String getName()
The name that you want to assign to this namespace.
public CreatePublicDnsNamespaceRequest withName(String name)
The name that you want to assign to this namespace.
name
- The name that you want to assign to this namespace.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreatePublicDnsNamespace
requests
to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed CreatePublicDnsNamespace
requests to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time stamp.public String getCreatorRequestId()
A unique string that identifies the request and that allows failed CreatePublicDnsNamespace
requests
to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
CreatePublicDnsNamespace
requests to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time stamp.public CreatePublicDnsNamespaceRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreatePublicDnsNamespace
requests
to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed CreatePublicDnsNamespace
requests to be retried without the risk of executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time stamp.public void setDescription(String description)
A description for the namespace.
description
- A description for the namespace.public String getDescription()
A description for the namespace.
public CreatePublicDnsNamespaceRequest withDescription(String description)
A description for the namespace.
description
- A description for the namespace.public List<Tag> getTags()
The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Collection<Tag> tags)
The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you
define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum
length of 256 characters.public CreatePublicDnsNamespaceRequest withTags(Tag... tags)
The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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 to add to the namespace. Each tag consists of a key and an optional value, both of which you
define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum
length of 256 characters.public CreatePublicDnsNamespaceRequest withTags(Collection<Tag> tags)
The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you
define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum
length of 256 characters.public String toString()
toString
in class Object
Object.toString()
public CreatePublicDnsNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()