Class BigtableAppProfileSingleClusterRouting.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigtable_app_profile.BigtableAppProfileSingleClusterRouting.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigtableAppProfileSingleClusterRouting>
- Enclosing interface:
- BigtableAppProfileSingleClusterRouting
@Stability(Stable) public static final class BigtableAppProfileSingleClusterRouting.Builder extends Object implements software.amazon.jsii.Builder<BigtableAppProfileSingleClusterRouting>
A builder forBigtableAppProfileSingleClusterRouting
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigtableAppProfileSingleClusterRouting.BuilderallowTransactionalWrites(com.hashicorp.cdktf.IResolvable allowTransactionalWrites)Sets the value ofBigtableAppProfileSingleClusterRouting.getAllowTransactionalWrites()BigtableAppProfileSingleClusterRouting.BuilderallowTransactionalWrites(Boolean allowTransactionalWrites)Sets the value ofBigtableAppProfileSingleClusterRouting.getAllowTransactionalWrites()BigtableAppProfileSingleClusterRoutingbuild()Builds the configured instance.BigtableAppProfileSingleClusterRouting.BuilderclusterId(String clusterId)Sets the value ofBigtableAppProfileSingleClusterRouting.getClusterId()
-
-
-
Method Detail
-
clusterId
@Stability(Stable) public BigtableAppProfileSingleClusterRouting.Builder clusterId(String clusterId)
Sets the value ofBigtableAppProfileSingleClusterRouting.getClusterId()- Parameters:
clusterId- The cluster to which read/write requests should be routed. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#cluster_id BigtableAppProfile#cluster_id}- Returns:
this
-
allowTransactionalWrites
@Stability(Stable) public BigtableAppProfileSingleClusterRouting.Builder allowTransactionalWrites(Boolean allowTransactionalWrites)
Sets the value ofBigtableAppProfileSingleClusterRouting.getAllowTransactionalWrites()- Parameters:
allowTransactionalWrites- If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#allow_transactional_writes BigtableAppProfile#allow_transactional_writes}- Returns:
this
-
allowTransactionalWrites
@Stability(Stable) public BigtableAppProfileSingleClusterRouting.Builder allowTransactionalWrites(com.hashicorp.cdktf.IResolvable allowTransactionalWrites)
Sets the value ofBigtableAppProfileSingleClusterRouting.getAllowTransactionalWrites()- Parameters:
allowTransactionalWrites- If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#allow_transactional_writes BigtableAppProfile#allow_transactional_writes}- Returns:
this
-
build
@Stability(Stable) public BigtableAppProfileSingleClusterRouting build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigtableAppProfileSingleClusterRouting>- Returns:
- a new instance of
BigtableAppProfileSingleClusterRouting - Throws:
NullPointerException- if any required attribute was not provided
-
-