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 Details

    • 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 gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

      Parameters:
      iops - The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

      Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotId

      The snapshot ID of the volume to use.

      You must specify either VolumeSize or SnapshotId.

      Parameters:
      snapshotId - The snapshot ID of the volume to use.

      You must specify either VolumeSize or SnapshotId.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, 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 SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, 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

      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.