Class MqBrokerEncryptionOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.mq_broker.MqBrokerEncryptionOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MqBrokerEncryptionOptions>
- Enclosing interface:
- MqBrokerEncryptionOptions
@Stability(Stable) public static final class MqBrokerEncryptionOptions.Builder extends Object implements software.amazon.jsii.Builder<MqBrokerEncryptionOptions>
A builder forMqBrokerEncryptionOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MqBrokerEncryptionOptionsbuild()Builds the configured instance.MqBrokerEncryptionOptions.BuilderkmsKeyId(String kmsKeyId)Sets the value ofMqBrokerEncryptionOptions.getKmsKeyId()MqBrokerEncryptionOptions.BuilderuseAwsOwnedKey(com.hashicorp.cdktf.IResolvable useAwsOwnedKey)Sets the value ofMqBrokerEncryptionOptions.getUseAwsOwnedKey()MqBrokerEncryptionOptions.BuilderuseAwsOwnedKey(Boolean useAwsOwnedKey)Sets the value ofMqBrokerEncryptionOptions.getUseAwsOwnedKey()
-
-
-
Method Detail
-
kmsKeyId
@Stability(Stable) public MqBrokerEncryptionOptions.Builder kmsKeyId(String kmsKeyId)
Sets the value ofMqBrokerEncryptionOptions.getKmsKeyId()- Parameters:
kmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#kms_key_id MqBroker#kms_key_id}.- Returns:
this
-
useAwsOwnedKey
@Stability(Stable) public MqBrokerEncryptionOptions.Builder useAwsOwnedKey(Boolean useAwsOwnedKey)
Sets the value ofMqBrokerEncryptionOptions.getUseAwsOwnedKey()- Parameters:
useAwsOwnedKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#use_aws_owned_key MqBroker#use_aws_owned_key}.- Returns:
this
-
useAwsOwnedKey
@Stability(Stable) public MqBrokerEncryptionOptions.Builder useAwsOwnedKey(com.hashicorp.cdktf.IResolvable useAwsOwnedKey)
Sets the value ofMqBrokerEncryptionOptions.getUseAwsOwnedKey()- Parameters:
useAwsOwnedKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#use_aws_owned_key MqBroker#use_aws_owned_key}.- Returns:
this
-
build
@Stability(Stable) public MqBrokerEncryptionOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MqBrokerEncryptionOptions>- Returns:
- a new instance of
MqBrokerEncryptionOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-