@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTagsForResourceRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<UpdateTagsForResourceRequest.Builder,UpdateTagsForResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTagsForResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTagsForResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagsToAdd()
Returns true if the TagsToAdd property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTagsToRemove()
Returns true if the TagsToRemove property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the resouce to be updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTagsForResourceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tagsToAdd()
A list of tags to add or update.
|
List<String> |
tagsToRemove()
A list of tag keys to remove.
|
UpdateTagsForResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String resourceArn()
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 boolean hasTagsToAdd()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagsToAdd() to see if a value was sent in this field.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public boolean hasTagsToRemove()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagsToRemove() to see if a value was sent in this field.
Specify at least one of these parameters: TagsToAdd, TagsToRemove.
public UpdateTagsForResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTagsForResourceRequest.Builder,UpdateTagsForResourceRequest>toBuilder in class ElasticBeanstalkRequestpublic static UpdateTagsForResourceRequest.Builder builder()
public static Class<? extends UpdateTagsForResourceRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.