@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddTagsToResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
List<Tag> |
getTagList()
One or more tags.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
void |
setTagList(Collection<Tag> tagList)
One or more tags.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsToResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
AddTagsToResourceRequest |
withTagList(Collection<Tag> tagList)
One or more tags.
|
AddTagsToResourceRequest |
withTagList(Tag... tagList)
One or more tags.
|
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 AWS CloudHSM resource to tag.
resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.public String getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
public AddTagsToResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.public void setTagList(Collection<Tag> tagList)
One or more tags.
tagList - One or more tags.public AddTagsToResourceRequest withTagList(Tag... tagList)
One or more tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection) or withTagList(java.util.Collection) if you want to override
the existing values.
tagList - One or more tags.public AddTagsToResourceRequest withTagList(Collection<Tag> tagList)
One or more tags.
tagList - One or more tags.public String toString()
toString in class ObjectObject.toString()public AddTagsToResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.