Class AthenaDatabaseConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.athena_database.AthenaDatabaseConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AthenaDatabaseConfig>
- Enclosing interface:
- AthenaDatabaseConfig
@Stability(Stable) public static final class AthenaDatabaseConfig.Builder extends Object implements software.amazon.jsii.Builder<AthenaDatabaseConfig>
A builder forAthenaDatabaseConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AthenaDatabaseConfig.BuilderaclConfiguration(AthenaDatabaseAclConfiguration aclConfiguration)Sets the value ofAthenaDatabaseConfig.getAclConfiguration()AthenaDatabaseConfig.Builderbucket(String bucket)Sets the value ofAthenaDatabaseConfig.getBucket()AthenaDatabaseConfigbuild()Builds the configured instance.AthenaDatabaseConfig.Buildercomment(String comment)Sets the value ofAthenaDatabaseConfig.getComment()AthenaDatabaseConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AthenaDatabaseConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AthenaDatabaseConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()AthenaDatabaseConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()AthenaDatabaseConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()AthenaDatabaseConfig.BuilderencryptionConfiguration(AthenaDatabaseEncryptionConfiguration encryptionConfiguration)Sets the value ofAthenaDatabaseConfig.getEncryptionConfiguration()AthenaDatabaseConfig.BuilderexpectedBucketOwner(String expectedBucketOwner)Sets the value ofAthenaDatabaseConfig.getExpectedBucketOwner()AthenaDatabaseConfig.BuilderforceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)Sets the value ofAthenaDatabaseConfig.getForceDestroy()AthenaDatabaseConfig.BuilderforceDestroy(Boolean forceDestroy)Sets the value ofAthenaDatabaseConfig.getForceDestroy()AthenaDatabaseConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()AthenaDatabaseConfig.Builderid(String id)Sets the value ofAthenaDatabaseConfig.getId()AthenaDatabaseConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()AthenaDatabaseConfig.Buildername(String name)Sets the value ofAthenaDatabaseConfig.getName()AthenaDatabaseConfig.Builderproperties(Map<String,String> properties)Sets the value ofAthenaDatabaseConfig.getProperties()AthenaDatabaseConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()AthenaDatabaseConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()
-
-
-
Method Detail
-
name
@Stability(Stable) public AthenaDatabaseConfig.Builder name(String name)
Sets the value ofAthenaDatabaseConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#name AthenaDatabase#name}. This parameter is required.- Returns:
this
-
aclConfiguration
@Stability(Stable) public AthenaDatabaseConfig.Builder aclConfiguration(AthenaDatabaseAclConfiguration aclConfiguration)
Sets the value ofAthenaDatabaseConfig.getAclConfiguration()- Parameters:
aclConfiguration- acl_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#acl_configuration AthenaDatabase#acl_configuration}- Returns:
this
-
bucket
@Stability(Stable) public AthenaDatabaseConfig.Builder bucket(String bucket)
Sets the value ofAthenaDatabaseConfig.getBucket()- Parameters:
bucket- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#bucket AthenaDatabase#bucket}.- Returns:
this
-
comment
@Stability(Stable) public AthenaDatabaseConfig.Builder comment(String comment)
Sets the value ofAthenaDatabaseConfig.getComment()- Parameters:
comment- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#comment AthenaDatabase#comment}.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public AthenaDatabaseConfig.Builder encryptionConfiguration(AthenaDatabaseEncryptionConfiguration encryptionConfiguration)
Sets the value ofAthenaDatabaseConfig.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- encryption_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#encryption_configuration AthenaDatabase#encryption_configuration}- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public AthenaDatabaseConfig.Builder expectedBucketOwner(String expectedBucketOwner)
Sets the value ofAthenaDatabaseConfig.getExpectedBucketOwner()- Parameters:
expectedBucketOwner- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#expected_bucket_owner AthenaDatabase#expected_bucket_owner}.- Returns:
this
-
forceDestroy
@Stability(Stable) public AthenaDatabaseConfig.Builder forceDestroy(Boolean forceDestroy)
Sets the value ofAthenaDatabaseConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#force_destroy AthenaDatabase#force_destroy}.- Returns:
this
-
forceDestroy
@Stability(Stable) public AthenaDatabaseConfig.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Sets the value ofAthenaDatabaseConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#force_destroy AthenaDatabase#force_destroy}.- Returns:
this
-
id
@Stability(Stable) public AthenaDatabaseConfig.Builder id(String id)
Sets the value ofAthenaDatabaseConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#id AthenaDatabase#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
properties
@Stability(Stable) public AthenaDatabaseConfig.Builder properties(Map<String,String> properties)
Sets the value ofAthenaDatabaseConfig.getProperties()- Parameters:
properties- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_database#properties AthenaDatabase#properties}.- Returns:
this
-
connection
@Stability(Experimental) public AthenaDatabaseConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public AthenaDatabaseConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AthenaDatabaseConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AthenaDatabaseConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public AthenaDatabaseConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public AthenaDatabaseConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public AthenaDatabaseConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public AthenaDatabaseConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public AthenaDatabaseConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AthenaDatabaseConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AthenaDatabaseConfig>- Returns:
- a new instance of
AthenaDatabaseConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-