Class AlloydbClusterSecondaryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterSecondaryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterSecondaryConfig>
- Enclosing interface:
- AlloydbClusterSecondaryConfig
@Stability(Stable) public static final class AlloydbClusterSecondaryConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterSecondaryConfig>
A builder forAlloydbClusterSecondaryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterSecondaryConfigbuild()Builds the configured instance.AlloydbClusterSecondaryConfig.BuilderprimaryClusterName(String primaryClusterName)Sets the value ofAlloydbClusterSecondaryConfig.getPrimaryClusterName()
-
-
-
Method Detail
-
primaryClusterName
@Stability(Stable) public AlloydbClusterSecondaryConfig.Builder primaryClusterName(String primaryClusterName)
Sets the value ofAlloydbClusterSecondaryConfig.getPrimaryClusterName()- Parameters:
primaryClusterName- Name of the primary cluster must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#primary_cluster_name AlloydbCluster#primary_cluster_name}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterSecondaryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterSecondaryConfig>- Returns:
- a new instance of
AlloydbClusterSecondaryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-