Class AlloydbClusterNetworkConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterNetworkConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterNetworkConfig>
- Enclosing interface:
- AlloydbClusterNetworkConfig
@Stability(Stable) public static final class AlloydbClusterNetworkConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterNetworkConfig>
A builder forAlloydbClusterNetworkConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterNetworkConfig.BuilderallocatedIpRange(String allocatedIpRange)Sets the value ofAlloydbClusterNetworkConfig.getAllocatedIpRange()AlloydbClusterNetworkConfigbuild()Builds the configured instance.AlloydbClusterNetworkConfig.Buildernetwork(String network)Sets the value ofAlloydbClusterNetworkConfig.getNetwork()
-
-
-
Method Detail
-
allocatedIpRange
@Stability(Stable) public AlloydbClusterNetworkConfig.Builder allocatedIpRange(String allocatedIpRange)
Sets the value ofAlloydbClusterNetworkConfig.getAllocatedIpRange()- Parameters:
allocatedIpRange- The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#allocated_ip_range AlloydbCluster#allocated_ip_range}- Returns:
this
-
network
@Stability(Stable) public AlloydbClusterNetworkConfig.Builder network(String network)
Sets the value ofAlloydbClusterNetworkConfig.getNetwork()- Parameters:
network- The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#network AlloydbCluster#network}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterNetworkConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterNetworkConfig>- Returns:
- a new instance of
AlloydbClusterNetworkConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-