public static interface KmsGrantConfiguration.Builder extends SdkPojo, CopyableBuilder<KmsGrantConfiguration.Builder,KmsGrantConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default KmsGrantConfiguration.Builder |
constraints(Consumer<KmsGrantConstraints.Builder> constraints)
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption
context.
|
KmsGrantConfiguration.Builder |
constraints(KmsGrantConstraints constraints)
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption
context.
|
KmsGrantConfiguration.Builder |
granteePrincipal(String granteePrincipal)
The principal that is given permission to perform the operations that the grant permits.
|
KmsGrantConfiguration.Builder |
issuingAccount(String issuingAccount)
The AWS account under which the grant was issued.
|
KmsGrantConfiguration.Builder |
operations(Collection<KmsGrantOperation> operations)
A list of operations that the grant permits.
|
KmsGrantConfiguration.Builder |
operations(KmsGrantOperation... operations)
A list of operations that the grant permits.
|
KmsGrantConfiguration.Builder |
operationsWithStrings(Collection<String> operations)
A list of operations that the grant permits.
|
KmsGrantConfiguration.Builder |
operationsWithStrings(String... operations)
A list of operations that the grant permits.
|
KmsGrantConfiguration.Builder |
retiringPrincipal(String retiringPrincipal)
The principal that is given permission to retire the grant by using RetireGrant operation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKmsGrantConfiguration.Builder constraints(KmsGrantConstraints constraints)
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.
constraints - Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption
context.default KmsGrantConfiguration.Builder constraints(Consumer<KmsGrantConstraints.Builder> constraints)
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.
This is a convenience that creates an instance of theKmsGrantConstraints.Builder avoiding the need
to create one manually via KmsGrantConstraints.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to constraints(KmsGrantConstraints).constraints - a consumer that will call methods on KmsGrantConstraints.Builderconstraints(KmsGrantConstraints)KmsGrantConfiguration.Builder granteePrincipal(String granteePrincipal)
The principal that is given permission to perform the operations that the grant permits.
granteePrincipal - The principal that is given permission to perform the operations that the grant permits.KmsGrantConfiguration.Builder issuingAccount(String issuingAccount)
The AWS account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.
issuingAccount - The AWS account under which the grant was issued. The account is used to propose KMS grants issued by
accounts other than the owner of the key.KmsGrantConfiguration.Builder operationsWithStrings(Collection<String> operations)
A list of operations that the grant permits.
operations - A list of operations that the grant permits.KmsGrantConfiguration.Builder operationsWithStrings(String... operations)
A list of operations that the grant permits.
operations - A list of operations that the grant permits.KmsGrantConfiguration.Builder operations(Collection<KmsGrantOperation> operations)
A list of operations that the grant permits.
operations - A list of operations that the grant permits.KmsGrantConfiguration.Builder operations(KmsGrantOperation... operations)
A list of operations that the grant permits.
operations - A list of operations that the grant permits.KmsGrantConfiguration.Builder retiringPrincipal(String retiringPrincipal)
The principal that is given permission to retire the grant by using RetireGrant operation.
retiringPrincipal - The principal that is given permission to retire the grant by using RetireGrant
operation.Copyright © 2021. All rights reserved.