@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateTagsForResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resouce to be updated.
|
List<Tag> |
getTagsToAdd()
A list of tags to add or update.
|
List<String> |
getTagsToRemove()
A list of tag keys to remove.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
|
void |
setTagsToAdd(Collection<Tag> tagsToAdd)
A list of tags to add or update.
|
void |
setTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTagsForResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
|
UpdateTagsForResourceRequest |
withTagsToAdd(Collection<Tag> tagsToAdd)
A list of tags to add or update.
|
UpdateTagsForResourceRequest |
withTagsToAdd(Tag... tagsToAdd)
A list of tags to add or update.
|
UpdateTagsForResourceRequest |
withTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove.
|
UpdateTagsForResourceRequest |
withTagsToRemove(String... tagsToRemove)
A list of tag keys to remove.
|
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 void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk environment.
resourceArn - The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk environment.
public String getResourceArn()
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk environment.
Must be the ARN of an Elastic Beanstalk environment.
public UpdateTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk environment.
resourceArn - The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk environment.
public List<Tag> getTagsToAdd()
A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
If a key of an existing tag is added, the tag's value is updated.
public void setTagsToAdd(Collection<Tag> tagsToAdd)
A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
tagsToAdd - A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
public UpdateTagsForResourceRequest withTagsToAdd(Tag... tagsToAdd)
A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
NOTE: This method appends the values to the existing list (if any). Use
setTagsToAdd(java.util.Collection) or withTagsToAdd(java.util.Collection) if you want to
override the existing values.
tagsToAdd - A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
public UpdateTagsForResourceRequest withTagsToAdd(Collection<Tag> tagsToAdd)
A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
tagsToAdd - A list of tags to add or update.
If a key of an existing tag is added, the tag's value is updated.
public List<String> getTagsToRemove()
A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
If a tag key doesn't exist, it is silently ignored.
public void setTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
tagsToRemove - A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
public UpdateTagsForResourceRequest withTagsToRemove(String... tagsToRemove)
A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
NOTE: This method appends the values to the existing list (if any). Use
setTagsToRemove(java.util.Collection) or withTagsToRemove(java.util.Collection) if you want to
override the existing values.
tagsToRemove - A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
public UpdateTagsForResourceRequest withTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
tagsToRemove - A list of tag keys to remove.
If a tag key doesn't exist, it is silently ignored.
public String toString()
toString in class ObjectObject.toString()public UpdateTagsForResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.