Interface EbsInstanceBlockDeviceSpecification.Builder

    • Method Detail

      • encrypted

        EbsInstanceBlockDeviceSpecification.Builder encrypted​(Boolean encrypted)

        Use to configure device encryption.

        Parameters:
        encrypted - Use to configure device encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteOnTermination

        EbsInstanceBlockDeviceSpecification.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Use to configure delete on termination of the associated device.

        Parameters:
        deleteOnTermination - Use to configure delete on termination of the associated device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        EbsInstanceBlockDeviceSpecification.Builder kmsKeyId​(String kmsKeyId)

        Use to configure the KMS key to use when encrypting the device.

        Parameters:
        kmsKeyId - Use to configure the KMS key to use when encrypting the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        EbsInstanceBlockDeviceSpecification.Builder snapshotId​(String snapshotId)

        The snapshot that defines the device contents.

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

        EbsInstanceBlockDeviceSpecification.Builder volumeSize​(Integer volumeSize)

        Use to override the device's volume size.

        Parameters:
        volumeSize - Use to override the device's volume size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • throughput

        EbsInstanceBlockDeviceSpecification.Builder throughput​(Integer throughput)

        For GP3 volumes only – The throughput in MiB/s that the volume supports.

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