Class AddTagsToResourceRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudhsm.model.AddTagsToResourceRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class AddTagsToResourceRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.One or more tags.inthashCode()voidsetResourceArn(String resourceArn) The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.voidsetTagList(Collection<Tag> tagList) One or more tags.toString()Returns a string representation of this object; useful for testing and debugging.withResourceArn(String resourceArn) The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.withTagList(Tag... tagList) One or more tags.withTagList(Collection<Tag> tagList) One or more tags.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
AddTagsToResourceRequest
public AddTagsToResourceRequest()
-
-
Method Details
-
setResourceArn
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
-
getResourceArn
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
- Returns:
- The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
-
withResourceArn
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagList
-
setTagList
One or more tags.
- Parameters:
tagList- One or more tags.
-
withTagList
One or more tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)orwithTagList(java.util.Collection)if you want to override the existing values.- Parameters:
tagList- One or more tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagList
One or more tags.
- Parameters:
tagList- One or more tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-