public static interface EbsBlockDevice.Builder extends SdkPojo, CopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>
Modifier and Type | Method and Description |
---|---|
EbsBlockDevice.Builder |
deleteOnTermination(Boolean deleteOnTermination)
Whether the volume is deleted on instance termination.
|
EbsBlockDevice.Builder |
iops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.
|
EbsBlockDevice.Builder |
snapshotId(String snapshotId)
The snapshot ID.
|
EbsBlockDevice.Builder |
volumeSize(Integer volumeSize)
The volume size, in GiB.
|
EbsBlockDevice.Builder |
volumeType(String volumeType)
The volume type.
|
EbsBlockDevice.Builder |
volumeType(VolumeType volumeType)
The volume type.
|
copy
applyMutation, build
EbsBlockDevice.Builder snapshotId(String snapshotId)
The snapshot ID.
snapshotId
- The snapshot ID.EbsBlockDevice.Builder iops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
iops
- The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.EbsBlockDevice.Builder volumeSize(Integer volumeSize)
The volume size, in GiB. For more information, see EbsBlockDevice.
volumeSize
- The volume size, in GiB. For more information, see EbsBlockDevice.EbsBlockDevice.Builder volumeType(String volumeType)
The volume type. gp2
for General Purpose (SSD) volumes, io1
for Provisioned IOPS
(SSD) volumes, st1
for Throughput Optimized hard disk drives (HDD), sc1
for Cold
HDD,and standard
for Magnetic volumes.
If you specify the io1
volume type, you must also specify a value for the Iops
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the
default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
volumeType
- The volume type. gp2
for General Purpose (SSD) volumes, io1
for Provisioned
IOPS (SSD) volumes, st1
for Throughput Optimized hard disk drives (HDD), sc1
for Cold HDD,and standard
for Magnetic volumes.
If you specify the io1
volume type, you must also specify a value for the
Iops
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB)
is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x
(volume size).
VolumeType
,
VolumeType
EbsBlockDevice.Builder volumeType(VolumeType volumeType)
The volume type. gp2
for General Purpose (SSD) volumes, io1
for Provisioned IOPS
(SSD) volumes, st1
for Throughput Optimized hard disk drives (HDD), sc1
for Cold
HDD,and standard
for Magnetic volumes.
If you specify the io1
volume type, you must also specify a value for the Iops
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the
default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
volumeType
- The volume type. gp2
for General Purpose (SSD) volumes, io1
for Provisioned
IOPS (SSD) volumes, st1
for Throughput Optimized hard disk drives (HDD), sc1
for Cold HDD,and standard
for Magnetic volumes.
If you specify the io1
volume type, you must also specify a value for the
Iops
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB)
is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x
(volume size).
VolumeType
,
VolumeType
EbsBlockDevice.Builder deleteOnTermination(Boolean deleteOnTermination)
Whether the volume is deleted on instance termination.
deleteOnTermination
- Whether the volume is deleted on instance termination.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.