@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)
Add a single Tags entry
|
TagRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the resource group to which to add tags.
|
Map<String,String> |
getTags()
The tags to add to the specified resource group.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the resource group to which to add tags.
|
void |
setTags(Map<String,String> tags)
The tags to add to the specified resource group.
|
String |
toString()
Returns a string representation of this object.
|
TagRequest |
withArn(String arn)
The ARN of the resource group to which to add tags.
|
TagRequest |
withTags(Map<String,String> tags)
The tags to add to the specified resource group.
|
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 group to which to add tags.
arn - The ARN of the resource group to which to add tags.public String getArn()
The ARN of the resource group to which to add tags.
public TagRequest withArn(String arn)
The ARN of the resource group to which to add tags.
arn - The ARN of the resource group to which to add tags.public Map<String,String> getTags()
The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.
public void setTags(Map<String,String> tags)
The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.
tags - The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.public TagRequest withTags(Map<String,String> tags)
The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.
tags - The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.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 © 2024. All rights reserved.