public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceArn
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
private SdkInternalList<Tag> |
tagList
One or more tags.
|
NOOP
Constructor and Description |
---|
AddTagsToResourceRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
java.util.List<Tag> |
getTagList()
One or more tags.
|
int |
hashCode() |
void |
setResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
void |
setTagList(java.util.Collection<Tag> tagList)
One or more tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsToResourceRequest |
withResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
AddTagsToResourceRequest |
withTagList(java.util.Collection<Tag> tagList)
One or more tags.
|
AddTagsToResourceRequest |
withTagList(Tag... tagList)
One or more tags.
|
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
private java.lang.String resourceArn
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
private SdkInternalList<Tag> tagList
One or more tags.
public void setResourceArn(java.lang.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 java.lang.String getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
public AddTagsToResourceRequest withResourceArn(java.lang.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 java.util.List<Tag> getTagList()
One or more tags.
public void setTagList(java.util.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(java.util.Collection<Tag> tagList)
One or more tags.
tagList
- One or more tags.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddTagsToResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()