Class BigtableAppProfileConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigtable_app_profile.BigtableAppProfileConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigtableAppProfileConfig>
- Enclosing interface:
- BigtableAppProfileConfig
@Stability(Stable) public static final class BigtableAppProfileConfig.Builder extends Object implements software.amazon.jsii.Builder<BigtableAppProfileConfig>
A builder forBigtableAppProfileConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
appProfileId
@Stability(Stable) public BigtableAppProfileConfig.Builder appProfileId(String appProfileId)
Sets the value ofBigtableAppProfileConfig.getAppProfileId()- Parameters:
appProfileId- The unique name of the app profile in the form '[a-zA-Z0-9][-.a-zA-Z0-9]*'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#app_profile_id BigtableAppProfile#app_profile_id}- Returns:
this
-
dataBoostIsolationReadOnly
@Stability(Stable) public BigtableAppProfileConfig.Builder dataBoostIsolationReadOnly(BigtableAppProfileDataBoostIsolationReadOnly dataBoostIsolationReadOnly)
Sets the value ofBigtableAppProfileConfig.getDataBoostIsolationReadOnly()- Parameters:
dataBoostIsolationReadOnly- data_boost_isolation_read_only block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#data_boost_isolation_read_only BigtableAppProfile#data_boost_isolation_read_only}- Returns:
this
-
description
@Stability(Stable) public BigtableAppProfileConfig.Builder description(String description)
Sets the value ofBigtableAppProfileConfig.getDescription()- Parameters:
description- Long form description of the use case for this app profile. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#description BigtableAppProfile#description}- Returns:
this
-
id
@Stability(Stable) public BigtableAppProfileConfig.Builder id(String id)
Sets the value ofBigtableAppProfileConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#id BigtableAppProfile#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
-
ignoreWarnings
@Stability(Stable) public BigtableAppProfileConfig.Builder ignoreWarnings(Boolean ignoreWarnings)
Sets the value ofBigtableAppProfileConfig.getIgnoreWarnings()- Parameters:
ignoreWarnings- If true, ignore safety checks when deleting/updating the app profile. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#ignore_warnings BigtableAppProfile#ignore_warnings}- Returns:
this
-
ignoreWarnings
@Stability(Stable) public BigtableAppProfileConfig.Builder ignoreWarnings(com.hashicorp.cdktf.IResolvable ignoreWarnings)
Sets the value ofBigtableAppProfileConfig.getIgnoreWarnings()- Parameters:
ignoreWarnings- If true, ignore safety checks when deleting/updating the app profile. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#ignore_warnings BigtableAppProfile#ignore_warnings}- Returns:
this
-
instance
@Stability(Stable) public BigtableAppProfileConfig.Builder instance(String instance)
Sets the value ofBigtableAppProfileConfig.getInstance()- Parameters:
instance- The name of the instance to create the app profile within. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#instance BigtableAppProfile#instance}- Returns:
this
-
multiClusterRoutingClusterIds
@Stability(Stable) public BigtableAppProfileConfig.Builder multiClusterRoutingClusterIds(List<String> multiClusterRoutingClusterIds)
Sets the value ofBigtableAppProfileConfig.getMultiClusterRoutingClusterIds()- Parameters:
multiClusterRoutingClusterIds- The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#multi_cluster_routing_cluster_ids BigtableAppProfile#multi_cluster_routing_cluster_ids}- Returns:
this
-
multiClusterRoutingUseAny
@Stability(Stable) public BigtableAppProfileConfig.Builder multiClusterRoutingUseAny(Boolean multiClusterRoutingUseAny)
Sets the value ofBigtableAppProfileConfig.getMultiClusterRoutingUseAny()- Parameters:
multiClusterRoutingUseAny- If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#multi_cluster_routing_use_any BigtableAppProfile#multi_cluster_routing_use_any}- Returns:
this
-
multiClusterRoutingUseAny
@Stability(Stable) public BigtableAppProfileConfig.Builder multiClusterRoutingUseAny(com.hashicorp.cdktf.IResolvable multiClusterRoutingUseAny)
Sets the value ofBigtableAppProfileConfig.getMultiClusterRoutingUseAny()- Parameters:
multiClusterRoutingUseAny- If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#multi_cluster_routing_use_any BigtableAppProfile#multi_cluster_routing_use_any}- Returns:
this
-
project
@Stability(Stable) public BigtableAppProfileConfig.Builder project(String project)
Sets the value ofBigtableAppProfileConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#project BigtableAppProfile#project}.- Returns:
this
-
singleClusterRouting
@Stability(Stable) public BigtableAppProfileConfig.Builder singleClusterRouting(BigtableAppProfileSingleClusterRouting singleClusterRouting)
Sets the value ofBigtableAppProfileConfig.getSingleClusterRouting()- Parameters:
singleClusterRouting- single_cluster_routing block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#single_cluster_routing BigtableAppProfile#single_cluster_routing}- Returns:
this
-
standardIsolation
@Stability(Stable) public BigtableAppProfileConfig.Builder standardIsolation(BigtableAppProfileStandardIsolation standardIsolation)
Sets the value ofBigtableAppProfileConfig.getStandardIsolation()- Parameters:
standardIsolation- standard_isolation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#standard_isolation BigtableAppProfile#standard_isolation}- Returns:
this
-
timeouts
@Stability(Stable) public BigtableAppProfileConfig.Builder timeouts(BigtableAppProfileTimeouts timeouts)
Sets the value ofBigtableAppProfileConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_app_profile#timeouts BigtableAppProfile#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BigtableAppProfileConfig.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 BigtableAppProfileConfig.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 BigtableAppProfileConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BigtableAppProfileConfig.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 BigtableAppProfileConfig.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 BigtableAppProfileConfig.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 BigtableAppProfileConfig.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 BigtableAppProfileConfig.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 BigtableAppProfileConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigtableAppProfileConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigtableAppProfileConfig>- Returns:
- a new instance of
BigtableAppProfileConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-