Class GlueCatalogDatabaseConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.glue_catalog_database.GlueCatalogDatabaseConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GlueCatalogDatabaseConfig>
- Enclosing interface:
- GlueCatalogDatabaseConfig
@Stability(Stable) public static final class GlueCatalogDatabaseConfig.Builder extends Object implements software.amazon.jsii.Builder<GlueCatalogDatabaseConfig>
A builder forGlueCatalogDatabaseConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder name(String name)
Sets the value ofGlueCatalogDatabaseConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#name GlueCatalogDatabase#name}. This parameter is required.- Returns:
this
-
catalogId
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder catalogId(String catalogId)
Sets the value ofGlueCatalogDatabaseConfig.getCatalogId()- Parameters:
catalogId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#catalog_id GlueCatalogDatabase#catalog_id}.- Returns:
this
-
createTableDefaultPermission
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder createTableDefaultPermission(com.hashicorp.cdktf.IResolvable createTableDefaultPermission)
Sets the value ofGlueCatalogDatabaseConfig.getCreateTableDefaultPermission()- Parameters:
createTableDefaultPermission- create_table_default_permission block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#create_table_default_permission GlueCatalogDatabase#create_table_default_permission}- Returns:
this
-
createTableDefaultPermission
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder createTableDefaultPermission(List<? extends GlueCatalogDatabaseCreateTableDefaultPermission> createTableDefaultPermission)
Sets the value ofGlueCatalogDatabaseConfig.getCreateTableDefaultPermission()- Parameters:
createTableDefaultPermission- create_table_default_permission block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#create_table_default_permission GlueCatalogDatabase#create_table_default_permission}- Returns:
this
-
description
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder description(String description)
Sets the value ofGlueCatalogDatabaseConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#description GlueCatalogDatabase#description}.- Returns:
this
-
id
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder id(String id)
Sets the value ofGlueCatalogDatabaseConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#id GlueCatalogDatabase#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
-
locationUri
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder locationUri(String locationUri)
Sets the value ofGlueCatalogDatabaseConfig.getLocationUri()- Parameters:
locationUri- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#location_uri GlueCatalogDatabase#location_uri}.- Returns:
this
-
parameters
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder parameters(Map<String,String> parameters)
Sets the value ofGlueCatalogDatabaseConfig.getParameters()- Parameters:
parameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#parameters GlueCatalogDatabase#parameters}.- Returns:
this
-
tags
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder tags(Map<String,String> tags)
Sets the value ofGlueCatalogDatabaseConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#tags GlueCatalogDatabase#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofGlueCatalogDatabaseConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#tags_all GlueCatalogDatabase#tags_all}.- Returns:
this
-
targetDatabase
@Stability(Stable) public GlueCatalogDatabaseConfig.Builder targetDatabase(GlueCatalogDatabaseTargetDatabase targetDatabase)
Sets the value ofGlueCatalogDatabaseConfig.getTargetDatabase()- Parameters:
targetDatabase- target_database block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_database#target_database GlueCatalogDatabase#target_database}- Returns:
this
-
connection
@Stability(Experimental) public GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.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 GlueCatalogDatabaseConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GlueCatalogDatabaseConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GlueCatalogDatabaseConfig>- Returns:
- a new instance of
GlueCatalogDatabaseConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-