@Generated(value="software.amazon.awssdk:codegen") public final class UntagResourceRequest extends KmsRequest implements ToCopyableBuilder<UntagResourceRequest.Builder,UntagResourceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UntagResourceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UntagResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagKeys()
For responses, this returns true if the service returned a value for the TagKeys property.
|
String |
keyId()
Identifies the KMS key from which you are removing tags.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UntagResourceRequest.Builder> |
serializableBuilderClass() |
List<String> |
tagKeys()
One or more tag keys.
|
UntagResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String keyId()
Identifies the KMS key from which you are removing tags.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public final boolean hasTagKeys()
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> tagKeys()
One or more tag keys. Specify only the tag keys, not the tag values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagKeys()
method.
public UntagResourceRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UntagResourceRequest.Builder,UntagResourceRequest>
toBuilder
in class KmsRequest
public static UntagResourceRequest.Builder builder()
public static Class<? extends UntagResourceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.