Class DataCatalogTagTemplateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_tag_template.DataCatalogTagTemplateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogTagTemplateConfig>
- Enclosing interface:
- DataCatalogTagTemplateConfig
@Stability(Stable) public static final class DataCatalogTagTemplateConfig.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogTagTemplateConfig>
A builder forDataCatalogTagTemplateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
fields
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder fields(com.hashicorp.cdktf.IResolvable fields)
Sets the value ofDataCatalogTagTemplateConfig.getFields()- Parameters:
fields- fields block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#fields DataCatalogTagTemplate#fields}- Returns:
this
-
fields
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder fields(List<? extends DataCatalogTagTemplateFields> fields)
Sets the value ofDataCatalogTagTemplateConfig.getFields()- Parameters:
fields- fields block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#fields DataCatalogTagTemplate#fields}- Returns:
this
-
tagTemplateId
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder tagTemplateId(String tagTemplateId)
Sets the value ofDataCatalogTagTemplateConfig.getTagTemplateId()- Parameters:
tagTemplateId- The id of the tag template to create. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#tag_template_id DataCatalogTagTemplate#tag_template_id}- Returns:
this
-
displayName
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder displayName(String displayName)
Sets the value ofDataCatalogTagTemplateConfig.getDisplayName()- Parameters:
displayName- The display name for this template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#display_name DataCatalogTagTemplate#display_name}- Returns:
this
-
forceDelete
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder forceDelete(Boolean forceDelete)
Sets the value ofDataCatalogTagTemplateConfig.getForceDelete()- Parameters:
forceDelete- This confirms the deletion of any possible tags using this template. Must be set to true in order to delete the tag template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#force_delete DataCatalogTagTemplate#force_delete}- Returns:
this
-
forceDelete
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder forceDelete(com.hashicorp.cdktf.IResolvable forceDelete)
Sets the value ofDataCatalogTagTemplateConfig.getForceDelete()- Parameters:
forceDelete- This confirms the deletion of any possible tags using this template. Must be set to true in order to delete the tag template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#force_delete DataCatalogTagTemplate#force_delete}- Returns:
this
-
id
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder id(String id)
Sets the value ofDataCatalogTagTemplateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#id DataCatalogTagTemplate#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
-
project
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder project(String project)
Sets the value ofDataCatalogTagTemplateConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#project DataCatalogTagTemplate#project}.- Returns:
this
-
region
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder region(String region)
Sets the value ofDataCatalogTagTemplateConfig.getRegion()- Parameters:
region- Template location region. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#region DataCatalogTagTemplate#region}- Returns:
this
-
timeouts
@Stability(Stable) public DataCatalogTagTemplateConfig.Builder timeouts(DataCatalogTagTemplateTimeouts timeouts)
Sets the value ofDataCatalogTagTemplateConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#timeouts DataCatalogTagTemplate#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.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 DataCatalogTagTemplateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataCatalogTagTemplateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogTagTemplateConfig>- Returns:
- a new instance of
DataCatalogTagTemplateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-