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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChunksResponse.BuilderchunkList(Collection<Chunk> chunkList)List of chunksListChunksResponse.BuilderchunkList(Consumer<Chunk.Builder>... chunkList)List of chunks This is a convenience method that creates an instance of theChunk.Builderavoiding the need to create one manually viaChunk.builder().ListChunksResponse.BuilderchunkList(Chunk... chunkList)List of chunksListChunksResponse.BuildernextToken(String nextToken)Pagination token-
Methods 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 Detail
-
chunkList
ListChunksResponse.Builder chunkList(Collection<Chunk> 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
ListChunksResponse.Builder chunkList(Chunk... 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
ListChunksResponse.Builder chunkList(Consumer<Chunk.Builder>... chunkList)
List of chunks This is a convenience method that creates an instance of theChunk.Builderavoiding the need to create one manually viaChunk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#chunkList(List.) - 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:
#chunkList(java.util.Collection)
-
nextToken
ListChunksResponse.Builder nextToken(String nextToken)
Pagination token- Parameters:
nextToken- Pagination token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-