Interface EbsBlockDeviceResponse.Builder

  • Method Details

    • encrypted

      Indicates whether the volume is encrypted.

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

      EbsBlockDeviceResponse.Builder deleteOnTermination(Boolean deleteOnTermination)

      Indicates whether the volume is deleted on instance termination.

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

      The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

      Parameters:
      iops - The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throughput

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

      Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

      Parameters:
      kmsKeyId - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotId

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

      EbsBlockDeviceResponse.Builder volumeSize(Integer volumeSize)

      The size of the volume, in GiBs.

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

      EbsBlockDeviceResponse.Builder volumeType(String volumeType)

      The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.

      Parameters:
      volumeType - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeType

      The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.

      Parameters:
      volumeType - The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: