Interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder

    • 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.
      • 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 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

        AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails.Builder snapshotId​(String 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

        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 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

        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.