@Generated(value="software.amazon.awssdk:codegen") public final class RetireGrantRequest extends KmsRequest implements ToCopyableBuilder<RetireGrantRequest.Builder,RetireGrantRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RetireGrantRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RetireGrantRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grantId()
Unique identifier of the grant to retire.
|
String |
grantToken()
Token that identifies the grant to be retired.
|
int |
hashCode() |
String |
keyId()
The Amazon Resource Name (ARN) of the CMK associated with the grant.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetireGrantRequest.Builder> |
serializableBuilderClass() |
RetireGrantRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String grantToken()
Token that identifies the grant to be retired.
public final String keyId()
The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
public final String grantId()
Unique identifier of the grant to retire. The grant ID is returned in the response to a CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
CreateGrant operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
public RetireGrantRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetireGrantRequest.Builder,RetireGrantRequest>toBuilder in class KmsRequestpublic static RetireGrantRequest.Builder builder()
public static Class<? extends RetireGrantRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.