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 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; useful for testing and
debugging.
|
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.
|
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
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()
Copyright © 2018. All rights reserved.