public static interface RetireGrantRequest.Builder extends KmsRequest.Builder, SdkPojo, CopyableBuilder<RetireGrantRequest.Builder,RetireGrantRequest>
| Modifier and Type | Method and Description |
|---|---|
RetireGrantRequest.Builder |
dryRun(Boolean dryRun)
Checks if your request will succeed.
|
RetireGrantRequest.Builder |
grantId(String grantId)
Identifies the grant to retire.
|
RetireGrantRequest.Builder |
grantToken(String grantToken)
Identifies the grant to be retired.
|
RetireGrantRequest.Builder |
keyId(String keyId)
The key ARN KMS key associated with the grant.
|
RetireGrantRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RetireGrantRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRetireGrantRequest.Builder grantToken(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.
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.
RetireGrantRequest.Builder keyId(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
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
RetireGrantRequest.Builder grantId(String grantId)
Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or ListRetirableGrants.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
grantId - Identifies the grant to retire. To get the grant ID, use CreateGrant, ListGrants, or
ListRetirableGrants.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
RetireGrantRequest.Builder dryRun(Boolean dryRun)
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide.
dryRun - Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your KMS API calls in the Key Management Service Developer Guide.
RetireGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRetireGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.