@Generated(value="software.amazon.awssdk:codegen") public final class ChangeTagsForResourceRequest extends Route53Request implements ToCopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>
A complex type that contains information about the tags that you want to add, edit, or delete.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChangeTagsForResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Tag> |
addTags()
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags that you want to edit
Value for. |
static ChangeTagsForResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAddTags()
Returns true if the AddTags property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRemoveTagKeys()
Returns true if the RemoveTagKeys property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
removeTagKeys()
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted
zone.
|
String |
resourceId()
The ID of the resource for which you want to add, change, or delete tags.
|
TagResourceType |
resourceType()
The type of the resource.
|
String |
resourceTypeAsString()
The type of the resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChangeTagsForResourceRequest.Builder> |
serializableBuilderClass() |
ChangeTagsForResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic TagResourceType resourceType()
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return TagResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic String resourceTypeAsString()
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return TagResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic String resourceId()
The ID of the resource for which you want to add, change, or delete tags.
public boolean hasAddTags()
public List<Tag> addTags()
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags that you want to edit Value for.
You can add a maximum of 10 tags to a health check or a hosted zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAddTags() to see if a value was sent in this field.
Value for.
You can add a maximum of 10 tags to a health check or a hosted zone.
public boolean hasRemoveTagKeys()
public List<String> removeTagKeys()
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemoveTagKeys() to see if a value was sent in this field.
public ChangeTagsForResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>toBuilder in class Route53Requestpublic static ChangeTagsForResourceRequest.Builder builder()
public static Class<? extends ChangeTagsForResourceRequest.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.