@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHttpNamespaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHttpNamespaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHttpNamespaceRequest |
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
CreateHttpNamespace 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.
|
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
CreateHttpNamespace 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 |
setTags(Collection<Tag> tags)
The tags to add to the namespace.
|
String |
toString()
Returns a string representation of this object.
|
CreateHttpNamespaceRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreateHttpNamespace requests to
be retried without the risk of running the operation twice. |
CreateHttpNamespaceRequest |
withDescription(String description)
A description for the namespace.
|
CreateHttpNamespaceRequest |
withName(String name)
The name that you want to assign to this namespace.
|
CreateHttpNamespaceRequest |
withTags(Collection<Tag> tags)
The tags to add to the namespace.
|
CreateHttpNamespaceRequest |
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 CreateHttpNamespaceRequest 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 CreateHttpNamespace
requests to
be retried without the risk of running 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 CreateHttpNamespace
requests to be retried without the risk of running 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 CreateHttpNamespace
requests to
be retried without the risk of running the operation twice. CreatorRequestId
can be any unique
string (for example, a date/time stamp).
CreateHttpNamespace
requests to be retried without the risk of running the operation twice. CreatorRequestId
can
be any unique string (for example, a date/time stamp).public CreateHttpNamespaceRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreateHttpNamespace
requests to
be retried without the risk of running 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 CreateHttpNamespace
requests to be retried without the risk of running 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 CreateHttpNamespaceRequest 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 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 CreateHttpNamespaceRequest 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 CreateHttpNamespaceRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateHttpNamespaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()