Interface ListSnapshotBlocksResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListSnapshotBlocksResponse.Builder,ListSnapshotBlocksResponse>, EbsResponse.Builder, SdkBuilder<ListSnapshotBlocksResponse.Builder,ListSnapshotBlocksResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListSnapshotBlocksResponse

public static interface ListSnapshotBlocksResponse.Builder extends EbsResponse.Builder, SdkPojo, CopyableBuilder<ListSnapshotBlocksResponse.Builder,ListSnapshotBlocksResponse>
  • Method Details

    • blocks

      An array of objects containing information about the blocks.

      Parameters:
      blocks - An array of objects containing information about the blocks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blocks

      An array of objects containing information about the blocks.

      Parameters:
      blocks - An array of objects containing information about the blocks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blocks

      An array of objects containing information about the blocks.

      This is a convenience method that creates an instance of the Block.Builder avoiding the need to create one manually via Block.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to blocks(List<Block>).

      Parameters:
      blocks - a consumer that will call methods on Block.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expiryTime

      The time when the BlockToken expires.

      Parameters:
      expiryTime - The time when the BlockToken expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeSize

      ListSnapshotBlocksResponse.Builder volumeSize(Long volumeSize)

      The size of the volume in GB.

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

      The size of the blocks in the snapshot, in bytes.

      Parameters:
      blockSize - The size of the blocks in the snapshot, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.