Class AthenaDataCatalogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.athena_data_catalog.AthenaDataCatalogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AthenaDataCatalogConfig>
- Enclosing interface:
- AthenaDataCatalogConfig
@Stability(Stable) public static final class AthenaDataCatalogConfig.Builder extends Object implements software.amazon.jsii.Builder<AthenaDataCatalogConfig>
A builder forAthenaDataCatalogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AthenaDataCatalogConfigbuild()Builds the configured instance.AthenaDataCatalogConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AthenaDataCatalogConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()AthenaDataCatalogConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()AthenaDataCatalogConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()AthenaDataCatalogConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()AthenaDataCatalogConfig.Builderdescription(String description)Sets the value ofAthenaDataCatalogConfig.getDescription()AthenaDataCatalogConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()AthenaDataCatalogConfig.Builderid(String id)Sets the value ofAthenaDataCatalogConfig.getId()AthenaDataCatalogConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()AthenaDataCatalogConfig.Buildername(String name)Sets the value ofAthenaDataCatalogConfig.getName()AthenaDataCatalogConfig.Builderparameters(Map<String,String> parameters)Sets the value ofAthenaDataCatalogConfig.getParameters()AthenaDataCatalogConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()AthenaDataCatalogConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()AthenaDataCatalogConfig.Buildertags(Map<String,String> tags)Sets the value ofAthenaDataCatalogConfig.getTags()AthenaDataCatalogConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofAthenaDataCatalogConfig.getTagsAll()AthenaDataCatalogConfig.Buildertype(String type)Sets the value ofAthenaDataCatalogConfig.getType()
-
-
-
Method Detail
-
description
@Stability(Stable) public AthenaDataCatalogConfig.Builder description(String description)
Sets the value ofAthenaDataCatalogConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#description AthenaDataCatalog#description}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public AthenaDataCatalogConfig.Builder name(String name)
Sets the value ofAthenaDataCatalogConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#name AthenaDataCatalog#name}. This parameter is required.- Returns:
this
-
parameters
@Stability(Stable) public AthenaDataCatalogConfig.Builder parameters(Map<String,String> parameters)
Sets the value ofAthenaDataCatalogConfig.getParameters()- Parameters:
parameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#parameters AthenaDataCatalog#parameters}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public AthenaDataCatalogConfig.Builder type(String type)
Sets the value ofAthenaDataCatalogConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#type AthenaDataCatalog#type}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AthenaDataCatalogConfig.Builder id(String id)
Sets the value ofAthenaDataCatalogConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#id AthenaDataCatalog#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
-
tags
@Stability(Stable) public AthenaDataCatalogConfig.Builder tags(Map<String,String> tags)
Sets the value ofAthenaDataCatalogConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#tags AthenaDataCatalog#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public AthenaDataCatalogConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofAthenaDataCatalogConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/athena_data_catalog#tags_all AthenaDataCatalog#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.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 AthenaDataCatalogConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AthenaDataCatalogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AthenaDataCatalogConfig>- Returns:
- a new instance of
AthenaDataCatalogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-