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 com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.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.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 com.amazonaws.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
One or more tags.
- Returns:
- One or more tags.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-