Interface ListChunksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupStorageResponse.Builder
,Buildable
,CopyableBuilder<ListChunksResponse.Builder,
,ListChunksResponse> SdkBuilder<ListChunksResponse.Builder,
,ListChunksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChunksResponse
public static interface ListChunksResponse.Builder
extends BackupStorageResponse.Builder, SdkPojo, CopyableBuilder<ListChunksResponse.Builder,ListChunksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchunkList
(Collection<Chunk> chunkList) List of chunkschunkList
(Consumer<Chunk.Builder>... chunkList) List of chunks This is a convenience method that creates an instance of theChunk.Builder
avoiding the need to create one manually viaChunk.builder()
.List of chunksPagination tokenMethods inherited from interface software.amazon.awssdk.services.backupstorage.model.BackupStorageResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
chunkList
List of chunks- Parameters:
chunkList
- List of chunks- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chunkList
List of chunks- Parameters:
chunkList
- List of chunks- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chunkList
List of chunks This is a convenience method that creates an instance of theChunk.Builder
avoiding the need to create one manually viaChunk.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochunkList(List<Chunk>)
.- Parameters:
chunkList
- a consumer that will call methods onChunk.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token- Parameters:
nextToken
- Pagination token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-