Interface EbsBlockDevice.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>,SdkBuilder<EbsBlockDevice.Builder,EbsBlockDevice>,SdkPojo
- Enclosing class:
- EbsBlockDevice
public static interface EbsBlockDevice.Builder extends SdkPojo, CopyableBuilder<EbsBlockDevice.Builder,EbsBlockDevice>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EbsBlockDevice.BuilderdeleteOnTermination(Boolean deleteOnTermination)Whether the volume is deleted on instance termination.EbsBlockDevice.Builderiops(Integer iops)The number of I/O operations per second (IOPS) that the volume supports.EbsBlockDevice.BuildersnapshotId(String snapshotId)The snapshot ID.EbsBlockDevice.BuildervolumeSize(Integer volumeSize)The volume size, in GiB.EbsBlockDevice.BuildervolumeType(String volumeType)The volume type.EbsBlockDevice.BuildervolumeType(VolumeType volumeType)The volume type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
snapshotId
EbsBlockDevice.Builder snapshotId(String snapshotId)
The snapshot ID.
- Parameters:
snapshotId- The snapshot ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
EbsBlockDevice.Builder iops(Integer iops)
The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
- Parameters:
iops- The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
EbsBlockDevice.Builder volumeSize(Integer volumeSize)
The volume size, in GiB. For more information, see EbsBlockDevice.
- Parameters:
volumeSize- The volume size, in GiB. For more information, see EbsBlockDevice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
EbsBlockDevice.Builder volumeType(String volumeType)
The volume type.
gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. 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).- Parameters:
volumeType- The volume type.gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeType,VolumeType
-
volumeType
EbsBlockDevice.Builder volumeType(VolumeType volumeType)
The volume type.
gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. 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).- Parameters:
volumeType- The volume type.gp2for General Purpose (SSD) volumes,io1for Provisioned IOPS (SSD) volumes,st1for Throughput Optimized hard disk drives (HDD),sc1for Cold HDD,andstandardfor Magnetic volumes.If you specify the
io1volume type, you must also specify a value for theIopsattribute. 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeType,VolumeType
-
deleteOnTermination
EbsBlockDevice.Builder deleteOnTermination(Boolean deleteOnTermination)
Whether the volume is deleted on instance termination.
- Parameters:
deleteOnTermination- Whether the volume is deleted on instance termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-