public static final class CfnLaunchTemplate.MemoryGiBPerVCpuProperty.Builder
extends java.lang.Object
CfnLaunchTemplate.MemoryGiBPerVCpuProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplate.MemoryGiBPerVCpuProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.Builder |
max(java.lang.Number max)
Sets the value of
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.getMax() |
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.Builder |
min(java.lang.Number min)
Sets the value of
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.getMin() |
public CfnLaunchTemplate.MemoryGiBPerVCpuProperty.Builder max(java.lang.Number max)
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.getMax()
max
- The maximum amount of memory per vCPU, in GiB.
To specify no maximum limit, omit this parameter.this
public CfnLaunchTemplate.MemoryGiBPerVCpuProperty.Builder min(java.lang.Number min)
CfnLaunchTemplate.MemoryGiBPerVCpuProperty.getMin()
min
- The minimum amount of memory per vCPU, in GiB.
To specify no minimum limit, omit this parameter.this
public CfnLaunchTemplate.MemoryGiBPerVCpuProperty build()
CfnLaunchTemplate.MemoryGiBPerVCpuProperty
java.lang.NullPointerException
- if any required attribute was not provided