Class AlloydbClusterPscConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterPscConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterPscConfig>
- Enclosing interface:
- AlloydbClusterPscConfig
@Stability(Stable) public static final class AlloydbClusterPscConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterPscConfig>
A builder forAlloydbClusterPscConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterPscConfigbuild()Builds the configured instance.AlloydbClusterPscConfig.BuilderpscEnabled(com.hashicorp.cdktf.IResolvable pscEnabled)Sets the value ofAlloydbClusterPscConfig.getPscEnabled()AlloydbClusterPscConfig.BuilderpscEnabled(Boolean pscEnabled)Sets the value ofAlloydbClusterPscConfig.getPscEnabled()
-
-
-
Method Detail
-
pscEnabled
@Stability(Stable) public AlloydbClusterPscConfig.Builder pscEnabled(Boolean pscEnabled)
Sets the value ofAlloydbClusterPscConfig.getPscEnabled()- Parameters:
pscEnabled- Create an instance that allows connections from Private Service Connect endpoints to the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#psc_enabled AlloydbCluster#psc_enabled}- Returns:
this
-
pscEnabled
@Stability(Stable) public AlloydbClusterPscConfig.Builder pscEnabled(com.hashicorp.cdktf.IResolvable pscEnabled)
Sets the value ofAlloydbClusterPscConfig.getPscEnabled()- Parameters:
pscEnabled- Create an instance that allows connections from Private Service Connect endpoints to the instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#psc_enabled AlloydbCluster#psc_enabled}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterPscConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterPscConfig>- Returns:
- a new instance of
AlloydbClusterPscConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-