Interface EbsInstanceBlockDeviceSpecification.Builder

  • Method Details

    • encrypted

      Specifies whether to encrypt the device.

      Parameters:
      encrypted - Specifies whether to encrypt the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteOnTermination

      EbsInstanceBlockDeviceSpecification.Builder deleteOnTermination(Boolean deleteOnTermination)

      Specifies whether to delete the associated device on termination.

      Parameters:
      deleteOnTermination - Specifies whether to delete the associated device on termination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iops

      The IOPS value for the device. Required only when volumeType is io1 or io2.

      Parameters:
      iops - The IOPS value for the device. Required only when volumeType is io1 or io2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.

      Parameters:
      kmsKeyId - The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Overrides the volume size for the device.

      Parameters:
      volumeSize - Overrides the volume size for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeType

      Overrides the volume type for the device.

      Parameters:
      volumeType - Overrides the volume type for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      Overrides the volume type for the device.

      Parameters:
      volumeType - Overrides the volume type for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.