@Stability(value=Stable) public static final class CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceFleetConfig.VolumeSpecificationProperty>
CfnInstanceFleetConfig.VolumeSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstanceFleetConfig.VolumeSpecificationProperty |
build()
Builds the configured instance.
|
CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder |
iops(Number iops)
Sets the value of
CfnInstanceFleetConfig.VolumeSpecificationProperty.getIops() |
CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder |
sizeInGb(Number sizeInGb)
Sets the value of
CfnInstanceFleetConfig.VolumeSpecificationProperty.getSizeInGb() |
CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder |
volumeType(String volumeType)
Sets the value of
CfnInstanceFleetConfig.VolumeSpecificationProperty.getVolumeType() |
@Stability(value=Stable) public CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder sizeInGb(Number sizeInGb)
CfnInstanceFleetConfig.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@Stability(value=Stable) public CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder volumeType(String volumeType)
CfnInstanceFleetConfig.VolumeSpecificationProperty.getVolumeType()volumeType - The volume type. This parameter is required.
Volume types supported are gp2, io1, and standard.this@Stability(value=Stable) public CfnInstanceFleetConfig.VolumeSpecificationProperty.Builder iops(Number iops)
CfnInstanceFleetConfig.VolumeSpecificationProperty.getIops()iops - The number of I/O operations per second (IOPS) that the volume supports.this@Stability(value=Stable) public CfnInstanceFleetConfig.VolumeSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnInstanceFleetConfig.VolumeSpecificationProperty>CfnInstanceFleetConfig.VolumeSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.