public static interface ListSnapshotBlocksResponse.Builder extends EbsResponse.Builder, SdkPojo, CopyableBuilder<ListSnapshotBlocksResponse.Builder,ListSnapshotBlocksResponse>
| Modifier and Type | Method and Description |
|---|---|
ListSnapshotBlocksResponse.Builder |
blocks(Block... blocks)
An array of objects containing information about the blocks.
|
ListSnapshotBlocksResponse.Builder |
blocks(Collection<Block> blocks)
An array of objects containing information about the blocks.
|
ListSnapshotBlocksResponse.Builder |
blocks(Consumer<Block.Builder>... blocks)
An array of objects containing information about the blocks.
|
ListSnapshotBlocksResponse.Builder |
blockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
|
ListSnapshotBlocksResponse.Builder |
expiryTime(Instant expiryTime)
The time when the
BlockToken expires. |
ListSnapshotBlocksResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListSnapshotBlocksResponse.Builder |
volumeSize(Long volumeSize)
The size of the volume in GB.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSnapshotBlocksResponse.Builder blocks(Collection<Block> blocks)
An array of objects containing information about the blocks.
blocks - An array of objects containing information about the blocks.ListSnapshotBlocksResponse.Builder blocks(Block... blocks)
An array of objects containing information about the blocks.
blocks - An array of objects containing information about the blocks.ListSnapshotBlocksResponse.Builder blocks(Consumer<Block.Builder>... blocks)
An array of objects containing information about the blocks.
This is a convenience method that creates an instance of theBlock.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.
blocks - a consumer that will call methods on Block.Builder#blocks(java.util.Collection) ListSnapshotBlocksResponse.Builder expiryTime(Instant expiryTime)
The time when the BlockToken expires.
expiryTime - The time when the BlockToken expires.ListSnapshotBlocksResponse.Builder volumeSize(Long volumeSize)
The size of the volume in GB.
volumeSize - The size of the volume in GB.ListSnapshotBlocksResponse.Builder blockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
blockSize - The size of the blocks in the snapshot, in bytes.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.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no more
results to return.Copyright © 2023. All rights reserved.