@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 resource.
resourceArn - The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
public String getResourceArn()
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
Must be the ARN of an Elastic Beanstalk resource.
public UpdateTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
resourceArn - The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
tagsToAdd - A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
tagsToAdd - A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public List<String> getTagsToRemove()
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public void setTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
tagsToRemove - A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public UpdateTagsForResourceRequest withTagsToRemove(String... tagsToRemove)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
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.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public UpdateTagsForResourceRequest withTagsToRemove(Collection<String> tagsToRemove)
A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
tagsToRemove - A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public String toString()
toString in class ObjectObject.toString()public UpdateTagsForResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2025. All rights reserved.