public class SetTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetTagsForResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of the assessment that you want to set tags to.
|
List<Tag> |
getTags()
A collection of key and value pairs that you want to set to an
assessment.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the assessment that you want to set tags to.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to an
assessment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetTagsForResourceRequest |
withResourceArn(String resourceArn)
The ARN of the assessment that you want to set tags to.
|
SetTagsForResourceRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to an
assessment.
|
SetTagsForResourceRequest |
withTags(Tag... tags)
A collection of key and value pairs that you want to set to an
assessment.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceArn(String resourceArn)
The ARN of the assessment that you want to set tags to.
resourceArn - The ARN of the assessment that you want to set tags to.public String getResourceArn()
The ARN of the assessment that you want to set tags to.
public SetTagsForResourceRequest withResourceArn(String resourceArn)
The ARN of the assessment that you want to set tags to.
resourceArn - The ARN of the assessment that you want to set tags to.public List<Tag> getTags()
A collection of key and value pairs that you want to set to an assessment.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to an assessment.
tags - A collection of key and value pairs that you want to set to an
assessment.public SetTagsForResourceRequest withTags(Tag... tags)
A collection of key and value pairs that you want to set to an assessment.
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 - A collection of key and value pairs that you want to set to an
assessment.public SetTagsForResourceRequest withTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to an assessment.
tags - A collection of key and value pairs that you want to set to an
assessment.public String toString()
toString in class ObjectObject.toString()public SetTagsForResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.