@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) |
<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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String grantToken()
Token that identifies the grant to be retired.
public 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 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 KmsRequest
public static RetireGrantRequest.Builder builder()
public static Class<? extends RetireGrantRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.