@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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 Object
Object.toString()
public TagRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()