public static final class CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder
extends java.lang.Object
CfnInstanceGroupConfig.VolumeSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnInstanceGroupConfig.VolumeSpecificationProperty |
build()
Builds the configured instance.
|
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
iops(java.lang.Number iops)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getIops() |
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
sizeInGb(java.lang.Number sizeInGb)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getSizeInGb() |
CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder |
volumeType(java.lang.String volumeType)
Sets the value of
CfnInstanceGroupConfig.VolumeSpecificationProperty.getVolumeType() |
public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder sizeInGb(java.lang.Number sizeInGb)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getSizeInGb()
sizeInGb
- The volume size, in gibibytes (GiB). This parameter is required.
This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.this
public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder volumeType(java.lang.String volumeType)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getVolumeType()
volumeType
- The volume type. This parameter is required.
Volume types supported are gp2, io1, and standard.this
public CfnInstanceGroupConfig.VolumeSpecificationProperty.Builder iops(java.lang.Number iops)
CfnInstanceGroupConfig.VolumeSpecificationProperty.getIops()
iops
- The number of I/O operations per second (IOPS) that the volume supports.this
public CfnInstanceGroupConfig.VolumeSpecificationProperty build()
CfnInstanceGroupConfig.VolumeSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided