@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A map of the key-value pairs for the resource tag.
NOOP| Constructor and Description |
|---|
CreateTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTagsRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateTagsRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource tag.
|
Map<String,String> |
getTags()
The key-value pair for the resource tag.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource tag.
|
void |
setTags(Map<String,String> tags)
The key-value pair for the resource tag.
|
String |
toString()
Returns a string representation of this object.
|
CreateTagsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource tag.
|
CreateTagsRequest |
withTags(Map<String,String> tags)
The key-value pair for the resource tag.
|
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 setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource tag.
resourceArn - The Amazon Resource Name (ARN) of the resource tag.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource tag.
public CreateTagsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource tag.
resourceArn - The Amazon Resource Name (ARN) of the resource tag.public Map<String,String> getTags()
The key-value pair for the resource tag.
public void setTags(Map<String,String> tags)
The key-value pair for the resource tag.
tags - The key-value pair for the resource tag.public CreateTagsRequest withTags(Map<String,String> tags)
The key-value pair for the resource tag.
tags - The key-value pair for the resource tag.public CreateTagsRequest addTagsEntry(String key, String value)
public CreateTagsRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.