Class DataCatalogTagConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_tag.DataCatalogTagConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogTagConfig>
- Enclosing interface:
- DataCatalogTagConfig
@Stability(Stable) public static final class DataCatalogTagConfig.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogTagConfig>
A builder forDataCatalogTagConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCatalogTagConfigbuild()Builds the configured instance.DataCatalogTagConfig.Buildercolumn(String column)Sets the value ofDataCatalogTagConfig.getColumn()DataCatalogTagConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogTagConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogTagConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogTagConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogTagConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataCatalogTagConfig.Builderfields(com.hashicorp.cdktf.IResolvable fields)Sets the value ofDataCatalogTagConfig.getFields()DataCatalogTagConfig.Builderfields(List<? extends DataCatalogTagFields> fields)Sets the value ofDataCatalogTagConfig.getFields()DataCatalogTagConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataCatalogTagConfig.Builderid(String id)Sets the value ofDataCatalogTagConfig.getId()DataCatalogTagConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataCatalogTagConfig.Builderparent(String parent)Sets the value ofDataCatalogTagConfig.getParent()DataCatalogTagConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataCatalogTagConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataCatalogTagConfig.Buildertemplate(String template)Sets the value ofDataCatalogTagConfig.getTemplate()DataCatalogTagConfig.Buildertimeouts(DataCatalogTagTimeouts timeouts)Sets the value ofDataCatalogTagConfig.getTimeouts()
-
-
-
Method Detail
-
fields
@Stability(Stable) public DataCatalogTagConfig.Builder fields(com.hashicorp.cdktf.IResolvable fields)
Sets the value ofDataCatalogTagConfig.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#fields DataCatalogTag#fields}- Returns:
this
-
fields
@Stability(Stable) public DataCatalogTagConfig.Builder fields(List<? extends DataCatalogTagFields> fields)
Sets the value ofDataCatalogTagConfig.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#fields DataCatalogTag#fields}- Returns:
this
-
template
@Stability(Stable) public DataCatalogTagConfig.Builder template(String template)
Sets the value ofDataCatalogTagConfig.getTemplate()- Parameters:
template- The resource name of the tag template that this tag uses. Example: projects/{project_id}/locations/{location}/tagTemplates/{tagTemplateId} This field cannot be modified after creation. 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 DataCatalogTag#template}- Returns:
this
-
column
@Stability(Stable) public DataCatalogTagConfig.Builder column(String column)
Sets the value ofDataCatalogTagConfig.getColumn()- Parameters:
column- Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema. For attaching a tag to a nested column, use '.' to separate the column names. Example: 'outer_column.inner_column' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag#column DataCatalogTag#column}- Returns:
this
-
id
@Stability(Stable) public DataCatalogTagConfig.Builder id(String id)
Sets the value ofDataCatalogTagConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag#id DataCatalogTag#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
-
parent
@Stability(Stable) public DataCatalogTagConfig.Builder parent(String parent)
Sets the value ofDataCatalogTagConfig.getParent()- Parameters:
parent- The name of the parent this tag is attached to. This can be the name of an entry or an entry group. If an entry group, the tag will be attached to all entries in that group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag#parent DataCatalogTag#parent}- Returns:
this
-
timeouts
@Stability(Stable) public DataCatalogTagConfig.Builder timeouts(DataCatalogTagTimeouts timeouts)
Sets the value ofDataCatalogTagConfig.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#timeouts DataCatalogTag#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataCatalogTagConfig.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 DataCatalogTagConfig.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 DataCatalogTagConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataCatalogTagConfig.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 DataCatalogTagConfig.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 DataCatalogTagConfig.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 DataCatalogTagConfig.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 DataCatalogTagConfig.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 DataCatalogTagConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataCatalogTagConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogTagConfig>- Returns:
- a new instance of
DataCatalogTagConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-