Class BigtableAuthorizedViewConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigtable_authorized_view.BigtableAuthorizedViewConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigtableAuthorizedViewConfig>
- Enclosing interface:
- BigtableAuthorizedViewConfig
@Stability(Stable) public static final class BigtableAuthorizedViewConfig.Builder extends Object implements software.amazon.jsii.Builder<BigtableAuthorizedViewConfig>
A builder forBigtableAuthorizedViewConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigtableAuthorizedViewConfigbuild()Builds the configured instance.BigtableAuthorizedViewConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigtableAuthorizedViewConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigtableAuthorizedViewConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()BigtableAuthorizedViewConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()BigtableAuthorizedViewConfig.BuilderdeletionProtection(String deletionProtection)Sets the value ofBigtableAuthorizedViewConfig.getDeletionProtection()BigtableAuthorizedViewConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()BigtableAuthorizedViewConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()BigtableAuthorizedViewConfig.Builderid(String id)Sets the value ofBigtableAuthorizedViewConfig.getId()BigtableAuthorizedViewConfig.BuilderinstanceName(String instanceName)Sets the value ofBigtableAuthorizedViewConfig.getInstanceName()BigtableAuthorizedViewConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()BigtableAuthorizedViewConfig.Buildername(String name)Sets the value ofBigtableAuthorizedViewConfig.getName()BigtableAuthorizedViewConfig.Builderproject(String project)Sets the value ofBigtableAuthorizedViewConfig.getProject()BigtableAuthorizedViewConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()BigtableAuthorizedViewConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()BigtableAuthorizedViewConfig.BuildersubsetView(BigtableAuthorizedViewSubsetView subsetView)Sets the value ofBigtableAuthorizedViewConfig.getSubsetView()BigtableAuthorizedViewConfig.BuildertableName(String tableName)Sets the value ofBigtableAuthorizedViewConfig.getTableName()BigtableAuthorizedViewConfig.Buildertimeouts(BigtableAuthorizedViewTimeouts timeouts)Sets the value ofBigtableAuthorizedViewConfig.getTimeouts()
-
-
-
Method Detail
-
instanceName
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder instanceName(String instanceName)
Sets the value ofBigtableAuthorizedViewConfig.getInstanceName()- Parameters:
instanceName- The name of the Bigtable instance in which the authorized view belongs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#instance_name BigtableAuthorizedView#instance_name}- Returns:
this
-
name
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder name(String name)
Sets the value ofBigtableAuthorizedViewConfig.getName()- Parameters:
name- The name of the authorized view. This parameter is required. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#name BigtableAuthorizedView#name}- Returns:
this
-
tableName
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder tableName(String tableName)
Sets the value ofBigtableAuthorizedViewConfig.getTableName()- Parameters:
tableName- The name of the Bigtable table in which the authorized view belongs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#table_name BigtableAuthorizedView#table_name}- Returns:
this
-
deletionProtection
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder deletionProtection(String deletionProtection)
Sets the value ofBigtableAuthorizedViewConfig.getDeletionProtection()- Parameters:
deletionProtection- A field to make the authorized view protected against data loss i.e. when set to PROTECTED, deleting the authorized view, the table containing the authorized view, and the instance containing the authorized view would be prohibited. If not provided, currently deletion protection will be set to UNPROTECTED as it is the API default value. Note this field configs the deletion protection provided by the API in the backend, and should not be confused with Terraform-side deletion protection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#deletion_protection BigtableAuthorizedView#deletion_protection}- Returns:
this
-
id
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder id(String id)
Sets the value ofBigtableAuthorizedViewConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#id BigtableAuthorizedView#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 BigtableAuthorizedViewConfig.Builder project(String project)
Sets the value ofBigtableAuthorizedViewConfig.getProject()- Parameters:
project- The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#project BigtableAuthorizedView#project}- Returns:
this
-
subsetView
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder subsetView(BigtableAuthorizedViewSubsetView subsetView)
Sets the value ofBigtableAuthorizedViewConfig.getSubsetView()- Parameters:
subsetView- subset_view block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#subset_view BigtableAuthorizedView#subset_view}- Returns:
this
-
timeouts
@Stability(Stable) public BigtableAuthorizedViewConfig.Builder timeouts(BigtableAuthorizedViewTimeouts timeouts)
Sets the value ofBigtableAuthorizedViewConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_authorized_view#timeouts BigtableAuthorizedView#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.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 BigtableAuthorizedViewConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigtableAuthorizedViewConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigtableAuthorizedViewConfig>- Returns:
- a new instance of
BigtableAuthorizedViewConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-