@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getResourceArns()
The Amazon Resource Name (ARN) of the resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the resource.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsRequest |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the resource.
|
AddTagsRequest |
withResourceArns(String... resourceArns)
The Amazon Resource Name (ARN) of the resource.
|
AddTagsRequest |
withTags(Collection<Tag> tags)
The tags.
|
AddTagsRequest |
withTags(Tag... tags)
The tags.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getResourceArns()
The Amazon Resource Name (ARN) of the resource.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the resource.
resourceArns - The Amazon Resource Name (ARN) of the resource.public AddTagsRequest withResourceArns(String... resourceArns)
The Amazon Resource Name (ARN) of the resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection) or withResourceArns(java.util.Collection) if you want to
override the existing values.
resourceArns - The Amazon Resource Name (ARN) of the resource.public AddTagsRequest withResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the resource.
resourceArns - The Amazon Resource Name (ARN) of the resource.public List<Tag> getTags()
The tags. Each resource can have a maximum of 10 tags.
public void setTags(Collection<Tag> tags)
The tags. Each resource can have a maximum of 10 tags.
tags - The tags. Each resource can have a maximum of 10 tags.public AddTagsRequest withTags(Tag... tags)
The tags. Each resource can have a maximum of 10 tags.
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 - The tags. Each resource can have a maximum of 10 tags.public AddTagsRequest withTags(Collection<Tag> tags)
The tags. Each resource can have a maximum of 10 tags.
tags - The tags. Each resource can have a maximum of 10 tags.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.