Interface ListSnapshotBlocksResponse.Builder

    • Method Detail

      • blocks

        ListSnapshotBlocksResponse.Builder blocks​(Collection<Block> 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

        ListSnapshotBlocksResponse.Builder blocks​(Block... 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.
      • expiryTime

        ListSnapshotBlocksResponse.Builder expiryTime​(Instant 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

        ListSnapshotBlocksResponse.Builder blockSize​(Integer 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

        ListSnapshotBlocksResponse.Builder nextToken​(String 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.