| Package | Description |
|---|---|
| software.amazon.awssdk.services.kms |
|
| software.amazon.awssdk.services.kms.model |
| Modifier and Type | Method and Description |
|---|---|
default CreateGrantResponse |
KmsClient.createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest)
Adds a grant to a customer master key (CMK).
|
default CompletableFuture<CreateGrantResponse> |
KmsAsyncClient.createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest)
Adds a grant to a customer master key (CMK).
|
| Modifier and Type | Method and Description |
|---|---|
static CreateGrantRequest.Builder |
CreateGrantRequest.builder() |
default CreateGrantRequest.Builder |
CreateGrantRequest.Builder.constraints(Consumer<GrantConstraints.Builder> constraints)
Allows a cryptographic operation only when the encryption context matches or includes the encryption context
specified in this structure.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.constraints(GrantConstraints constraints)
Allows a cryptographic operation only when the encryption context matches or includes the encryption context
specified in this structure.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.granteePrincipal(String granteePrincipal)
The principal that is given permission to perform the operations that the grant permits.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.grantTokens(Collection<String> grantTokens)
A list of grant tokens.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.grantTokens(String... grantTokens)
A list of grant tokens.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.keyId(String keyId)
The unique identifier for the customer master key (CMK) that the grant applies to.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.name(String name)
A friendly name for the grant.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.operations(Collection<GrantOperation> operations)
A list of operations that the grant permits.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.operations(GrantOperation... operations)
A list of operations that the grant permits.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.operationsWithStrings(Collection<String> operations)
A list of operations that the grant permits.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.operationsWithStrings(String... operations)
A list of operations that the grant permits.
|
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateGrantRequest.Builder |
CreateGrantRequest.Builder.retiringPrincipal(String retiringPrincipal)
The principal that is given permission to retire the grant by using RetireGrant operation.
|
CreateGrantRequest.Builder |
CreateGrantRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateGrantRequest.Builder> |
CreateGrantRequest.serializableBuilderClass() |
Copyright © 2021. All rights reserved.