Class AthenaDatabaseEncryptionConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.athena_database.AthenaDatabaseEncryptionConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AthenaDatabaseEncryptionConfiguration>
- Enclosing interface:
- AthenaDatabaseEncryptionConfiguration
@Stability(Stable) public static final class AthenaDatabaseEncryptionConfiguration.Builder extends Object implements software.amazon.jsii.Builder<AthenaDatabaseEncryptionConfiguration>
A builder forAthenaDatabaseEncryptionConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AthenaDatabaseEncryptionConfigurationbuild()Builds the configured instance.AthenaDatabaseEncryptionConfiguration.BuilderencryptionOption(String encryptionOption)Sets the value ofAthenaDatabaseEncryptionConfiguration.getEncryptionOption()AthenaDatabaseEncryptionConfiguration.BuilderkmsKey(String kmsKey)Sets the value ofAthenaDatabaseEncryptionConfiguration.getKmsKey()
-
-
-
Method Detail
-
encryptionOption
@Stability(Stable) public AthenaDatabaseEncryptionConfiguration.Builder encryptionOption(String encryptionOption)
Sets the value ofAthenaDatabaseEncryptionConfiguration.getEncryptionOption()- Parameters:
encryptionOption- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#encryption_option AthenaDatabase#encryption_option}. This parameter is required.- Returns:
this
-
kmsKey
@Stability(Stable) public AthenaDatabaseEncryptionConfiguration.Builder kmsKey(String kmsKey)
Sets the value ofAthenaDatabaseEncryptionConfiguration.getKmsKey()- Parameters:
kmsKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#kms_key AthenaDatabase#kms_key}.- Returns:
this
-
build
@Stability(Stable) public AthenaDatabaseEncryptionConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AthenaDatabaseEncryptionConfiguration>- Returns:
- a new instance of
AthenaDatabaseEncryptionConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-