Class KmsGrantConstraints.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.kms_grant.KmsGrantConstraints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KmsGrantConstraints>
- Enclosing interface:
- KmsGrantConstraints
@Stability(Stable) public static final class KmsGrantConstraints.Builder extends Object implements software.amazon.jsii.Builder<KmsGrantConstraints>
A builder forKmsGrantConstraints
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsGrantConstraintsbuild()Builds the configured instance.KmsGrantConstraints.BuilderencryptionContextEquals(Map<String,String> encryptionContextEquals)Sets the value ofKmsGrantConstraints.getEncryptionContextEquals()KmsGrantConstraints.BuilderencryptionContextSubset(Map<String,String> encryptionContextSubset)Sets the value ofKmsGrantConstraints.getEncryptionContextSubset()
-
-
-
Method Detail
-
encryptionContextEquals
@Stability(Stable) public KmsGrantConstraints.Builder encryptionContextEquals(Map<String,String> encryptionContextEquals)
Sets the value ofKmsGrantConstraints.getEncryptionContextEquals()- Parameters:
encryptionContextEquals- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_grant#encryption_context_equals KmsGrant#encryption_context_equals}.- Returns:
this
-
encryptionContextSubset
@Stability(Stable) public KmsGrantConstraints.Builder encryptionContextSubset(Map<String,String> encryptionContextSubset)
Sets the value ofKmsGrantConstraints.getEncryptionContextSubset()- Parameters:
encryptionContextSubset- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/kms_grant#encryption_context_subset KmsGrant#encryption_context_subset}.- Returns:
this
-
build
@Stability(Stable) public KmsGrantConstraints build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KmsGrantConstraints>- Returns:
- a new instance of
KmsGrantConstraints - Throws:
NullPointerException- if any required attribute was not provided
-
-