Class DataCatalogPolicyTagConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_policy_tag.DataCatalogPolicyTagConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogPolicyTagConfig>
- Enclosing interface:
- DataCatalogPolicyTagConfig
@Stability(Stable) public static final class DataCatalogPolicyTagConfig.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogPolicyTagConfig>
A builder forDataCatalogPolicyTagConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCatalogPolicyTagConfigbuild()Builds the configured instance.DataCatalogPolicyTagConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogPolicyTagConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogPolicyTagConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogPolicyTagConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogPolicyTagConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataCatalogPolicyTagConfig.Builderdescription(String description)Sets the value ofDataCatalogPolicyTagConfig.getDescription()DataCatalogPolicyTagConfig.BuilderdisplayName(String displayName)Sets the value ofDataCatalogPolicyTagConfig.getDisplayName()DataCatalogPolicyTagConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataCatalogPolicyTagConfig.Builderid(String id)Sets the value ofDataCatalogPolicyTagConfig.getId()DataCatalogPolicyTagConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataCatalogPolicyTagConfig.BuilderparentPolicyTag(String parentPolicyTag)Sets the value ofDataCatalogPolicyTagConfig.getParentPolicyTag()DataCatalogPolicyTagConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataCatalogPolicyTagConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataCatalogPolicyTagConfig.Buildertaxonomy(String taxonomy)Sets the value ofDataCatalogPolicyTagConfig.getTaxonomy()DataCatalogPolicyTagConfig.Buildertimeouts(DataCatalogPolicyTagTimeouts timeouts)Sets the value ofDataCatalogPolicyTagConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder displayName(String displayName)
Sets the value ofDataCatalogPolicyTagConfig.getDisplayName()- Parameters:
displayName- User defined name of this policy tag. This parameter is required. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#display_name DataCatalogPolicyTag#display_name}- Returns:
this
-
taxonomy
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder taxonomy(String taxonomy)
Sets the value ofDataCatalogPolicyTagConfig.getTaxonomy()- Parameters:
taxonomy- Taxonomy the policy tag is associated with. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#taxonomy DataCatalogPolicyTag#taxonomy}- Returns:
this
-
description
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder description(String description)
Sets the value ofDataCatalogPolicyTagConfig.getDescription()- Parameters:
description- Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#description DataCatalogPolicyTag#description}- Returns:
this
-
id
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder id(String id)
Sets the value ofDataCatalogPolicyTagConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#id DataCatalogPolicyTag#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
-
parentPolicyTag
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder parentPolicyTag(String parentPolicyTag)
Sets the value ofDataCatalogPolicyTagConfig.getParentPolicyTag()- Parameters:
parentPolicyTag- Resource name of this policy tag's parent policy tag. If empty, it means this policy tag is a top level policy tag. If not set, defaults to an empty string. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#parent_policy_tag DataCatalogPolicyTag#parent_policy_tag}- Returns:
this
-
timeouts
@Stability(Stable) public DataCatalogPolicyTagConfig.Builder timeouts(DataCatalogPolicyTagTimeouts timeouts)
Sets the value ofDataCatalogPolicyTagConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_policy_tag#timeouts DataCatalogPolicyTag#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.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 DataCatalogPolicyTagConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataCatalogPolicyTagConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogPolicyTagConfig>- Returns:
- a new instance of
DataCatalogPolicyTagConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-