@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of the assessment template that you want to set tags to.
|
List<Tag> |
getTags()
A collection of key and value pairs that you want to set to the assessment template.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the assessment template 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 the assessment template.
|
String |
toString()
Returns a string representation of this object.
|
SetTagsForResourceRequest |
withResourceArn(String resourceArn)
The ARN of the assessment template 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 the assessment template.
|
SetTagsForResourceRequest |
withTags(Tag... tags)
A collection of key and value pairs that you want to set to the assessment template.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setResourceArn(String resourceArn)
The ARN of the assessment template that you want to set tags to.
resourceArn
- The ARN of the assessment template that you want to set tags to.public String getResourceArn()
The ARN of the assessment template that you want to set tags to.
public SetTagsForResourceRequest withResourceArn(String resourceArn)
The ARN of the assessment template that you want to set tags to.
resourceArn
- The ARN of the assessment template that you want to set tags to.public List<Tag> getTags()
A collection of key and value pairs that you want to set to the assessment template.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to the assessment template.
tags
- A collection of key and value pairs that you want to set to the assessment template.public SetTagsForResourceRequest withTags(Tag... tags)
A collection of key and value pairs that you want to set to the assessment template.
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 the assessment template.public SetTagsForResourceRequest withTags(Collection<Tag> tags)
A collection of key and value pairs that you want to set to the assessment template.
tags
- A collection of key and value pairs that you want to set to the assessment template.public String toString()
toString
in class Object
Object.toString()
public SetTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()