@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePrivateDnsNamespaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePrivateDnsNamespaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePrivateDnsNamespaceRequest |
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
CreatePrivateDnsNamespace
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.
|
String |
getVpc()
The ID of the Amazon VPC that you want to associate the namespace with.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreatePrivateDnsNamespace
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.
|
void |
setVpc(String vpc)
The ID of the Amazon VPC that you want to associate the namespace with.
|
String |
toString()
Returns a string representation of this object.
|
CreatePrivateDnsNamespaceRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreatePrivateDnsNamespace
requests to be retried without the risk of executing the operation twice. |
CreatePrivateDnsNamespaceRequest |
withDescription(String description)
A description for the namespace.
|
CreatePrivateDnsNamespaceRequest |
withName(String name)
The name that you want to assign to this namespace.
|
CreatePrivateDnsNamespaceRequest |
withTags(Collection<Tag> tags)
The tags to add to the namespace.
|
CreatePrivateDnsNamespaceRequest |
withTags(Tag... tags)
The tags to add to the namespace.
|
CreatePrivateDnsNamespaceRequest |
withVpc(String vpc)
The ID of the Amazon VPC that you want to associate the namespace with.
|
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. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
name
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map
automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.public String getName()
The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
public CreatePrivateDnsNamespaceRequest withName(String name)
The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
name
- The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map
automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace
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 CreatePrivateDnsNamespace
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 CreatePrivateDnsNamespace
requests to be retried without the risk of executing the operation twice. CreatorRequestId
can be
any unique string, for example, a date/time stamp.
CreatePrivateDnsNamespace
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 CreatePrivateDnsNamespaceRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace
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 CreatePrivateDnsNamespace
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 CreatePrivateDnsNamespaceRequest withDescription(String description)
A description for the namespace.
description
- A description for the namespace.public void setVpc(String vpc)
The ID of the Amazon VPC that you want to associate the namespace with.
vpc
- The ID of the Amazon VPC that you want to associate the namespace with.public String getVpc()
The ID of the Amazon VPC that you want to associate the namespace with.
public CreatePrivateDnsNamespaceRequest withVpc(String vpc)
The ID of the Amazon VPC that you want to associate the namespace with.
vpc
- The ID of the Amazon VPC that you want to associate the namespace with.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 CreatePrivateDnsNamespaceRequest 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 CreatePrivateDnsNamespaceRequest 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 CreatePrivateDnsNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()