Class AlloydbInstanceMachineConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_instance.AlloydbInstanceMachineConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbInstanceMachineConfig>
- Enclosing interface:
- AlloydbInstanceMachineConfig
@Stability(Stable) public static final class AlloydbInstanceMachineConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbInstanceMachineConfig>
A builder forAlloydbInstanceMachineConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbInstanceMachineConfigbuild()Builds the configured instance.AlloydbInstanceMachineConfig.BuildercpuCount(Number cpuCount)Sets the value ofAlloydbInstanceMachineConfig.getCpuCount()
-
-
-
Method Detail
-
cpuCount
@Stability(Stable) public AlloydbInstanceMachineConfig.Builder cpuCount(Number cpuCount)
Sets the value ofAlloydbInstanceMachineConfig.getCpuCount()- Parameters:
cpuCount- The number of CPU's in the VM instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#cpu_count AlloydbInstance#cpu_count}- Returns:
this
-
build
@Stability(Stable) public AlloydbInstanceMachineConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbInstanceMachineConfig>- Returns:
- a new instance of
AlloydbInstanceMachineConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-