@Stability(value=Stable) public static final class CfnInstance.HardwareProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.HardwareProperty>
CfnInstance.HardwareProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.HardwareProperty |
build()
Builds the configured instance.
|
CfnInstance.HardwareProperty.Builder |
cpuCount(Number cpuCount)
Sets the value of
CfnInstance.HardwareProperty.getCpuCount() |
CfnInstance.HardwareProperty.Builder |
disks(IResolvable disks)
Sets the value of
CfnInstance.HardwareProperty.getDisks() |
CfnInstance.HardwareProperty.Builder |
disks(List<? extends Object> disks)
Sets the value of
CfnInstance.HardwareProperty.getDisks() |
CfnInstance.HardwareProperty.Builder |
ramSizeInGb(Number ramSizeInGb)
Sets the value of
CfnInstance.HardwareProperty.getRamSizeInGb() |
@Stability(value=Stable) public CfnInstance.HardwareProperty.Builder cpuCount(Number cpuCount)
CfnInstance.HardwareProperty.getCpuCount()cpuCount - The number of vCPUs the instance has.
The
CpuCountproperty is read-only and should not be specified in a create instance or update instance request.
this@Stability(value=Stable) public CfnInstance.HardwareProperty.Builder disks(IResolvable disks)
CfnInstance.HardwareProperty.getDisks()disks - The disks attached to the instance.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.this@Stability(value=Stable) public CfnInstance.HardwareProperty.Builder disks(List<? extends Object> disks)
CfnInstance.HardwareProperty.getDisks()disks - The disks attached to the instance.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.this@Stability(value=Stable) public CfnInstance.HardwareProperty.Builder ramSizeInGb(Number ramSizeInGb)
CfnInstance.HardwareProperty.getRamSizeInGb()ramSizeInGb - The amount of RAM in GB on the instance (for example, `1.0` ).
The
RamSizeInGbproperty is read-only and should not be specified in a create instance or update instance request.
this@Stability(value=Stable) public CfnInstance.HardwareProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.HardwareProperty>CfnInstance.HardwarePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.