Interface ListProgressUpdateStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProgressUpdateStreamsResponse.Builder,
,ListProgressUpdateStreamsResponse> MigrationHubResponse.Builder
,SdkBuilder<ListProgressUpdateStreamsResponse.Builder,
,ListProgressUpdateStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProgressUpdateStreamsResponse
public static interface ListProgressUpdateStreamsResponse.Builder
extends MigrationHubResponse.Builder, SdkPojo, CopyableBuilder<ListProgressUpdateStreamsResponse.Builder,ListProgressUpdateStreamsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more streams created than the max result, return the next token to be passed to the next call as a bookmark of where to start from.progressUpdateStreamSummaryList
(Collection<ProgressUpdateStreamSummary> progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.progressUpdateStreamSummaryList
(Consumer<ProgressUpdateStreamSummary.Builder>... progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.progressUpdateStreamSummaryList
(ProgressUpdateStreamSummary... progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubResponse.Builder
build, responseMetadata, responseMetadata
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
-
progressUpdateStreamSummaryList
ListProgressUpdateStreamsResponse.Builder progressUpdateStreamSummaryList(Collection<ProgressUpdateStreamSummary> progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.
- Parameters:
progressUpdateStreamSummaryList
- List of progress update streams up to the max number of results passed in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressUpdateStreamSummaryList
ListProgressUpdateStreamsResponse.Builder progressUpdateStreamSummaryList(ProgressUpdateStreamSummary... progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.
- Parameters:
progressUpdateStreamSummaryList
- List of progress update streams up to the max number of results passed in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressUpdateStreamSummaryList
ListProgressUpdateStreamsResponse.Builder progressUpdateStreamSummaryList(Consumer<ProgressUpdateStreamSummary.Builder>... progressUpdateStreamSummaryList) List of progress update streams up to the max number of results passed in the input.
This is a convenience method that creates an instance of theProgressUpdateStreamSummary.Builder
avoiding the need to create one manually viaProgressUpdateStreamSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprogressUpdateStreamSummaryList(List<ProgressUpdateStreamSummary>)
.- Parameters:
progressUpdateStreamSummaryList
- a consumer that will call methods onProgressUpdateStreamSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more streams created than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
- Parameters:
nextToken
- If there are more streams created than the max result, return the next token to be passed to the next call as a bookmark of where to start from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-