Class AlloydbInstanceReadPoolConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_instance.AlloydbInstanceReadPoolConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbInstanceReadPoolConfig>
- Enclosing interface:
- AlloydbInstanceReadPoolConfig
@Stability(Stable) public static final class AlloydbInstanceReadPoolConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbInstanceReadPoolConfig>
A builder forAlloydbInstanceReadPoolConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbInstanceReadPoolConfigbuild()Builds the configured instance.AlloydbInstanceReadPoolConfig.BuildernodeCount(Number nodeCount)Sets the value ofAlloydbInstanceReadPoolConfig.getNodeCount()
-
-
-
Method Detail
-
nodeCount
@Stability(Stable) public AlloydbInstanceReadPoolConfig.Builder nodeCount(Number nodeCount)
Sets the value ofAlloydbInstanceReadPoolConfig.getNodeCount()- Parameters:
nodeCount- Read capacity, i.e. number of nodes in a read pool instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#node_count AlloydbInstance#node_count}- Returns:
this
-
build
@Stability(Stable) public AlloydbInstanceReadPoolConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbInstanceReadPoolConfig>- Returns:
- a new instance of
AlloydbInstanceReadPoolConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-