Class DataCatalogTaxonomyConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_taxonomy.DataCatalogTaxonomyConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogTaxonomyConfig>
- Enclosing interface:
- DataCatalogTaxonomyConfig
@Stability(Stable) public static final class DataCatalogTaxonomyConfig.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogTaxonomyConfig>
A builder forDataCatalogTaxonomyConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCatalogTaxonomyConfig.BuilderactivatedPolicyTypes(List<String> activatedPolicyTypes)Sets the value ofDataCatalogTaxonomyConfig.getActivatedPolicyTypes()DataCatalogTaxonomyConfigbuild()Builds the configured instance.DataCatalogTaxonomyConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogTaxonomyConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataCatalogTaxonomyConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogTaxonomyConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataCatalogTaxonomyConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataCatalogTaxonomyConfig.Builderdescription(String description)Sets the value ofDataCatalogTaxonomyConfig.getDescription()DataCatalogTaxonomyConfig.BuilderdisplayName(String displayName)Sets the value ofDataCatalogTaxonomyConfig.getDisplayName()DataCatalogTaxonomyConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataCatalogTaxonomyConfig.Builderid(String id)Sets the value ofDataCatalogTaxonomyConfig.getId()DataCatalogTaxonomyConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataCatalogTaxonomyConfig.Builderproject(String project)Sets the value ofDataCatalogTaxonomyConfig.getProject()DataCatalogTaxonomyConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataCatalogTaxonomyConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataCatalogTaxonomyConfig.Builderregion(String region)Sets the value ofDataCatalogTaxonomyConfig.getRegion()DataCatalogTaxonomyConfig.Buildertimeouts(DataCatalogTaxonomyTimeouts timeouts)Sets the value ofDataCatalogTaxonomyConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder displayName(String displayName)
Sets the value ofDataCatalogTaxonomyConfig.getDisplayName()- Parameters:
displayName- User defined name of this taxonomy. This parameter is required. The taxonomy display name must be unique within an organization. It must: 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_taxonomy#display_name DataCatalogTaxonomy#display_name}- Returns:
this
-
activatedPolicyTypes
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder activatedPolicyTypes(List<String> activatedPolicyTypes)
Sets the value ofDataCatalogTaxonomyConfig.getActivatedPolicyTypes()- Parameters:
activatedPolicyTypes- A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. Possible values: ["POLICY_TYPE_UNSPECIFIED", "FINE_GRAINED_ACCESS_CONTROL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#activated_policy_types DataCatalogTaxonomy#activated_policy_types}- Returns:
this
-
description
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder description(String description)
Sets the value ofDataCatalogTaxonomyConfig.getDescription()- Parameters:
description- Description of this taxonomy. 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#description DataCatalogTaxonomy#description}- Returns:
this
-
id
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder id(String id)
Sets the value ofDataCatalogTaxonomyConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#id DataCatalogTaxonomy#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 DataCatalogTaxonomyConfig.Builder project(String project)
Sets the value ofDataCatalogTaxonomyConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#project DataCatalogTaxonomy#project}.- Returns:
this
-
region
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder region(String region)
Sets the value ofDataCatalogTaxonomyConfig.getRegion()- Parameters:
region- Taxonomy location region. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#region DataCatalogTaxonomy#region}- Returns:
this
-
timeouts
@Stability(Stable) public DataCatalogTaxonomyConfig.Builder timeouts(DataCatalogTaxonomyTimeouts timeouts)
Sets the value ofDataCatalogTaxonomyConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_taxonomy#timeouts DataCatalogTaxonomy#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.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 DataCatalogTaxonomyConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataCatalogTaxonomyConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogTaxonomyConfig>- Returns:
- a new instance of
DataCatalogTaxonomyConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-