public static interface RetireGrantRequest.Builder extends KMSRequest.Builder, CopyableBuilder<RetireGrantRequest.Builder,RetireGrantRequest>
| Modifier and Type | Method and Description |
|---|---|
RetireGrantRequest.Builder |
grantId(String grantId)
Unique identifier of the grant to retire.
|
RetireGrantRequest.Builder |
grantToken(String grantToken)
Token that identifies the grant to be retired.
|
RetireGrantRequest.Builder |
keyId(String keyId)
The Amazon Resource Name (ARN) of the CMK associated with the grant.
|
RetireGrantRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
RetireGrantRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildRetireGrantRequest.Builder grantToken(String grantToken)
Token that identifies the grant to be retired.
grantToken - Token that identifies the grant to be retired.RetireGrantRequest.Builder keyId(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
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
RetireGrantRequest.Builder grantId(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
grantId - Unique identifier of the grant to retire. The grant ID is returned in the response to a
CreateGrant operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
RetireGrantRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.RetireGrantRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.