Class GlueCatalogTableConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.glue_catalog_table.GlueCatalogTableConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GlueCatalogTableConfig>
- Enclosing interface:
- GlueCatalogTableConfig
@Stability(Stable) public static final class GlueCatalogTableConfig.Builder extends Object implements software.amazon.jsii.Builder<GlueCatalogTableConfig>
A builder forGlueCatalogTableConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
databaseName
@Stability(Stable) public GlueCatalogTableConfig.Builder databaseName(String databaseName)
Sets the value ofGlueCatalogTableConfig.getDatabaseName()- Parameters:
databaseName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#database_name GlueCatalogTable#database_name}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public GlueCatalogTableConfig.Builder name(String name)
Sets the value ofGlueCatalogTableConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#name GlueCatalogTable#name}. This parameter is required.- Returns:
this
-
catalogId
@Stability(Stable) public GlueCatalogTableConfig.Builder catalogId(String catalogId)
Sets the value ofGlueCatalogTableConfig.getCatalogId()- Parameters:
catalogId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#catalog_id GlueCatalogTable#catalog_id}.- Returns:
this
-
description
@Stability(Stable) public GlueCatalogTableConfig.Builder description(String description)
Sets the value ofGlueCatalogTableConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#description GlueCatalogTable#description}.- Returns:
this
-
id
@Stability(Stable) public GlueCatalogTableConfig.Builder id(String id)
Sets the value ofGlueCatalogTableConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#id GlueCatalogTable#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
-
owner
@Stability(Stable) public GlueCatalogTableConfig.Builder owner(String owner)
Sets the value ofGlueCatalogTableConfig.getOwner()- Parameters:
owner- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#owner GlueCatalogTable#owner}.- Returns:
this
-
parameters
@Stability(Stable) public GlueCatalogTableConfig.Builder parameters(Map<String,String> parameters)
Sets the value ofGlueCatalogTableConfig.getParameters()- Parameters:
parameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#parameters GlueCatalogTable#parameters}.- Returns:
this
-
partitionIndex
@Stability(Stable) public GlueCatalogTableConfig.Builder partitionIndex(com.hashicorp.cdktf.IResolvable partitionIndex)
Sets the value ofGlueCatalogTableConfig.getPartitionIndex()- Parameters:
partitionIndex- partition_index block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#partition_index GlueCatalogTable#partition_index}- Returns:
this
-
partitionIndex
@Stability(Stable) public GlueCatalogTableConfig.Builder partitionIndex(List<? extends GlueCatalogTablePartitionIndex> partitionIndex)
Sets the value ofGlueCatalogTableConfig.getPartitionIndex()- Parameters:
partitionIndex- partition_index block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#partition_index GlueCatalogTable#partition_index}- Returns:
this
-
partitionKeys
@Stability(Stable) public GlueCatalogTableConfig.Builder partitionKeys(com.hashicorp.cdktf.IResolvable partitionKeys)
Sets the value ofGlueCatalogTableConfig.getPartitionKeys()- Parameters:
partitionKeys- partition_keys block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#partition_keys GlueCatalogTable#partition_keys}- Returns:
this
-
partitionKeys
@Stability(Stable) public GlueCatalogTableConfig.Builder partitionKeys(List<? extends GlueCatalogTablePartitionKeys> partitionKeys)
Sets the value ofGlueCatalogTableConfig.getPartitionKeys()- Parameters:
partitionKeys- partition_keys block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#partition_keys GlueCatalogTable#partition_keys}- Returns:
this
-
retention
@Stability(Stable) public GlueCatalogTableConfig.Builder retention(Number retention)
Sets the value ofGlueCatalogTableConfig.getRetention()- Parameters:
retention- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#retention GlueCatalogTable#retention}.- Returns:
this
-
storageDescriptor
@Stability(Stable) public GlueCatalogTableConfig.Builder storageDescriptor(GlueCatalogTableStorageDescriptor storageDescriptor)
Sets the value ofGlueCatalogTableConfig.getStorageDescriptor()- Parameters:
storageDescriptor- storage_descriptor block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#storage_descriptor GlueCatalogTable#storage_descriptor}- Returns:
this
-
tableType
@Stability(Stable) public GlueCatalogTableConfig.Builder tableType(String tableType)
Sets the value ofGlueCatalogTableConfig.getTableType()- Parameters:
tableType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#table_type GlueCatalogTable#table_type}.- Returns:
this
-
targetTable
@Stability(Stable) public GlueCatalogTableConfig.Builder targetTable(GlueCatalogTableTargetTable targetTable)
Sets the value ofGlueCatalogTableConfig.getTargetTable()- Parameters:
targetTable- target_table block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#target_table GlueCatalogTable#target_table}- Returns:
this
-
viewExpandedText
@Stability(Stable) public GlueCatalogTableConfig.Builder viewExpandedText(String viewExpandedText)
Sets the value ofGlueCatalogTableConfig.getViewExpandedText()- Parameters:
viewExpandedText- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#view_expanded_text GlueCatalogTable#view_expanded_text}.- Returns:
this
-
viewOriginalText
@Stability(Stable) public GlueCatalogTableConfig.Builder viewOriginalText(String viewOriginalText)
Sets the value ofGlueCatalogTableConfig.getViewOriginalText()- Parameters:
viewOriginalText- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/glue_catalog_table#view_original_text GlueCatalogTable#view_original_text}.- Returns:
this
-
connection
@Stability(Experimental) public GlueCatalogTableConfig.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 GlueCatalogTableConfig.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 GlueCatalogTableConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GlueCatalogTableConfig.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 GlueCatalogTableConfig.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 GlueCatalogTableConfig.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 GlueCatalogTableConfig.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 GlueCatalogTableConfig.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 GlueCatalogTableConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GlueCatalogTableConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GlueCatalogTableConfig>- Returns:
- a new instance of
GlueCatalogTableConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-