Interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>,SdkBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>,SdkPojo
- Enclosing class:
- AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails
public static interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder extends SdkPojo, CopyableBuilder<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder,AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.BuilderdeleteOnTermination(Boolean deleteOnTermination)Whether to delete the volume when the instance is terminated.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builderencrypted(Boolean encrypted)Whether to encrypt the volume.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builderiops(Integer iops)The number of input/output (I/O) operations per second (IOPS) to provision for the volume.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.BuildersnapshotId(String snapshotId)The snapshot ID of the volume to use.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.BuildervolumeSize(Integer volumeSize)The volume size, in GiBs.AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.BuildervolumeType(String 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
-
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
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder encrypted(Boolean 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
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder iops(Integer 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.
-
-
-