@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()
Identifies the grant to retire.
|
String |
grantToken()
Identifies the grant to be retired.
|
int |
hashCode() |
String |
keyId()
The key ARN KMS key 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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String grantToken()
Identifies the grant to be retired. You can use a grant token to identify a new grant even before it has achieved eventual consistency.
Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the Key Management Service Developer Guide.
Only the CreateGrant operation returns a grant token. For details, see Grant token and Eventual consistency in the Key Management Service Developer Guide.
public final String keyId()
The key ARN KMS key associated with the grant. To find the key ARN, use the ListKeys operation.
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()
Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
public RetireGrantRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RetireGrantRequest.Builder,RetireGrantRequest>
toBuilder
in class KmsRequest
public static RetireGrantRequest.Builder builder()
public static Class<? extends RetireGrantRequest.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.