@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
TagResourceRequest
NOOP| Constructor and Description |
|---|
TagResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource to apply the tag to.
|
List<TagListEntry> |
getTags()
The tags to apply.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to apply the tag to.
|
void |
setTags(Collection<TagListEntry> tags)
The tags to apply.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to apply the tag to.
|
TagResourceRequest |
withTags(Collection<TagListEntry> tags)
The tags to apply.
|
TagResourceRequest |
withTags(TagListEntry... tags)
The tags to apply.
|
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 to apply the tag to.
resourceArn - The Amazon Resource Name (ARN) of the resource to apply the tag to.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource to apply the tag to.
public TagResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to apply the tag to.
resourceArn - The Amazon Resource Name (ARN) of the resource to apply the tag to.public List<TagListEntry> getTags()
The tags to apply.
public void setTags(Collection<TagListEntry> tags)
The tags to apply.
tags - The tags to apply.public TagResourceRequest withTags(TagListEntry... tags)
The tags to apply.
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 apply.public TagResourceRequest withTags(Collection<TagListEntry> tags)
The tags to apply.
tags - The tags to apply.public String toString()
toString in class ObjectObject.toString()public TagResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.