Interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails> SdkBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails> SdkPojo
- Enclosing class:
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
-
Method Summary
Modifier and TypeMethodDescriptiondeleteOnTermination(Boolean deleteOnTermination) Whether to delete the volume when the instance is terminated.Whether to encrypt the volume.The number of input/output (I/O) operations per second (IOPS) to provision for the volume.snapshotId(String snapshotId) The snapshot ID of the volume to use.volumeSize(Integer volumeSize) The volume size, in GiBs.volumeType(String volumeType) The volume type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deleteOnTermination
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder deleteOnTermination(Boolean deleteOnTermination) Whether to delete the volume when the instance is terminated.
- Parameters:
deleteOnTermination- Whether to delete the volume when the instance is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Whether to encrypt the volume.
- Parameters:
encrypted- Whether to encrypt the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
The number of input/output (I/O) operations per second (IOPS) to provision for the volume.
Only supported for
gp3orio1volumes. Required forio1volumes. Not used withstandard,gp2,st1, orsc1volumes.- Parameters:
iops- The number of input/output (I/O) operations per second (IOPS) to provision for the volume.Only supported for
gp3orio1volumes. Required forio1volumes. Not used withstandard,gp2,st1, orsc1volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder snapshotId(String snapshotId) The snapshot ID of the volume to use.
You must specify either
VolumeSizeorSnapshotId.- Parameters:
snapshotId- The snapshot ID of the volume to use.You must specify either
VolumeSizeorSnapshotId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder volumeSize(Integer volumeSize) The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
-
gp2 and gp3: 1-16,384
-
io1: 4-16,384
-
st1 and sc1: 125-16,384
-
standard: 1-1,024
You must specify either
SnapshotIdorVolumeSize. If you specify bothSnapshotIdandVolumeSize, the volume size must be equal or greater than the size of the snapshot.- Parameters:
volumeSize- The volume size, in GiBs. The following are the supported volumes sizes for each volume type:-
gp2 and gp3: 1-16,384
-
io1: 4-16,384
-
st1 and sc1: 125-16,384
-
standard: 1-1,024
You must specify either
SnapshotIdorVolumeSize. If you specify bothSnapshotIdandVolumeSize, the volume size must be equal or greater than the size of the snapshot.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
volumeType
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder volumeType(String volumeType) The volume type. Valid values are as follows:
-
gp2 -
gp3 -
io1 -
sc1 -
st1 -
standard
- Parameters:
volumeType- The volume type. Valid values are as follows:-
gp2 -
gp3 -
io1 -
sc1 -
st1 -
standard
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-