@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 running the operation twice. |
String |
getDescription()
A description for the namespace.
|
String |
getName()
The name that you want to assign to this namespace.
|
PrivateDnsNamespaceProperties |
getProperties()
Properties for the private DNS 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 running 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 |
setProperties(PrivateDnsNamespaceProperties properties)
Properties for the private DNS 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 running 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 |
withProperties(PrivateDnsNamespaceProperties properties)
Properties for the private DNS 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, 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, 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, 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, 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, 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 running the operation twice. CreatorRequestId
can be any
unique string (for example, a date/timestamp).
creatorRequestId
- A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace
requests to be retried without the risk of running the operation twice. CreatorRequestId
can
be any unique string (for example, a date/timestamp).public String getCreatorRequestId()
A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace
requests to be retried without the risk of running the operation twice. CreatorRequestId
can be any
unique string (for example, a date/timestamp).
CreatePrivateDnsNamespace
requests to be retried without the risk of running the operation twice. CreatorRequestId
can
be any unique string (for example, a date/timestamp).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 running the operation twice. CreatorRequestId
can be any
unique string (for example, a date/timestamp).
creatorRequestId
- A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace
requests to be retried without the risk of running the operation twice. CreatorRequestId
can
be any unique string (for example, a date/timestamp).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 that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
public void setTags(Collection<Tag> tags)
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
tags
- The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags
keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.public CreatePrivateDnsNamespaceRequest withTags(Tag... tags)
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
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 that you define. Tags
keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.public CreatePrivateDnsNamespaceRequest withTags(Collection<Tag> tags)
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
tags
- The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags
keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.public void setProperties(PrivateDnsNamespaceProperties properties)
Properties for the private DNS namespace.
properties
- Properties for the private DNS namespace.public PrivateDnsNamespaceProperties getProperties()
Properties for the private DNS namespace.
public CreatePrivateDnsNamespaceRequest withProperties(PrivateDnsNamespaceProperties properties)
Properties for the private DNS namespace.
properties
- Properties for the private DNS namespace.public String toString()
toString
in class Object
Object.toString()
public CreatePrivateDnsNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()