Interface LaunchTemplateEbsBlockDevice.Builder

    • Method Detail

      • encrypted

        LaunchTemplateEbsBlockDevice.Builder encrypted​(Boolean encrypted)

        Indicates whether the EBS volume is encrypted.

        Parameters:
        encrypted - Indicates whether the EBS volume is encrypted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteOnTermination

        LaunchTemplateEbsBlockDevice.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the EBS volume is deleted on instance termination.

        Parameters:
        deleteOnTermination - Indicates whether the EBS volume is deleted on instance termination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iops

        LaunchTemplateEbsBlockDevice.Builder iops​(Integer iops)

        The number of I/O operations per second (IOPS) that the volume supports.

        Parameters:
        iops - The number of I/O operations per second (IOPS) that the volume supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        LaunchTemplateEbsBlockDevice.Builder kmsKeyId​(String kmsKeyId)

        The ARN of the Key Management Service (KMS) CMK used for encryption.

        Parameters:
        kmsKeyId - The ARN of the Key Management Service (KMS) CMK used for encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        LaunchTemplateEbsBlockDevice.Builder snapshotId​(String snapshotId)

        The ID of the snapshot.

        Parameters:
        snapshotId - The ID of the snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • volumeSize

        LaunchTemplateEbsBlockDevice.Builder volumeSize​(Integer volumeSize)

        The size of the volume, in GiB.

        Parameters:
        volumeSize - The size of the volume, in GiB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • throughput

        LaunchTemplateEbsBlockDevice.Builder throughput​(Integer throughput)

        The throughput that the volume supports, in MiB/s.

        Parameters:
        throughput - The throughput that the volume supports, in MiB/s.
        Returns:
        Returns a reference to this object so that method calls can be chained together.