@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TagRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagRequest |
addTagsEntry(String key,
String value) |
TagRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the resource to which to add tags.
|
Map<String,String> |
getTags()
The tags to add to the specified resource.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the resource to which to add tags.
|
void |
setTags(Map<String,String> tags)
The tags to add to the specified resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagRequest |
withArn(String arn)
The ARN of the resource to which to add tags.
|
TagRequest |
withTags(Map<String,String> tags)
The tags to add to the specified resource.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setArn(String arn)
The ARN of the resource to which to add tags.
arn - The ARN of the resource to which to add tags.public String getArn()
The ARN of the resource to which to add tags.
public TagRequest withArn(String arn)
The ARN of the resource to which to add tags.
arn - The ARN of the resource to which to add tags.public Map<String,String> getTags()
The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. 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(Map<String,String> tags)
The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. 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 specified resource. A tag is a string-to-string map of key-value pairs. Tag keys
can have a maximum character length of 128 characters, and tag values can have a maximum length of 256
characters.public TagRequest withTags(Map<String,String> tags)
The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. 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 specified resource. A tag is a string-to-string map of key-value pairs. Tag keys
can have a maximum character length of 128 characters, and tag values can have a maximum length of 256
characters.public TagRequest addTagsEntry(String key, String value)
public TagRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public TagRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.