Interface ListWhatIfAnalysesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWhatIfAnalysesResponse.Builder,
,ListWhatIfAnalysesResponse> ForecastResponse.Builder
,SdkBuilder<ListWhatIfAnalysesResponse.Builder,
,ListWhatIfAnalysesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWhatIfAnalysesResponse
public static interface ListWhatIfAnalysesResponse.Builder
extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListWhatIfAnalysesResponse.Builder,ListWhatIfAnalysesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Forecast returns this token.whatIfAnalyses
(Collection<WhatIfAnalysisSummary> whatIfAnalyses) An array ofWhatIfAnalysisSummary
objects that describe the matched analyses.whatIfAnalyses
(Consumer<WhatIfAnalysisSummary.Builder>... whatIfAnalyses) An array ofWhatIfAnalysisSummary
objects that describe the matched analyses.whatIfAnalyses
(WhatIfAnalysisSummary... whatIfAnalyses) An array ofWhatIfAnalysisSummary
objects that describe the matched analyses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.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
-
whatIfAnalyses
An array of
WhatIfAnalysisSummary
objects that describe the matched analyses.- Parameters:
whatIfAnalyses
- An array ofWhatIfAnalysisSummary
objects that describe the matched analyses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfAnalyses
An array of
WhatIfAnalysisSummary
objects that describe the matched analyses.- Parameters:
whatIfAnalyses
- An array ofWhatIfAnalysisSummary
objects that describe the matched analyses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfAnalyses
ListWhatIfAnalysesResponse.Builder whatIfAnalyses(Consumer<WhatIfAnalysisSummary.Builder>... whatIfAnalyses) An array of
This is a convenience method that creates an instance of theWhatIfAnalysisSummary
objects that describe the matched analyses.WhatIfAnalysisSummary.Builder
avoiding the need to create one manually viaWhatIfAnalysisSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towhatIfAnalyses(List<WhatIfAnalysisSummary>)
.- Parameters:
whatIfAnalyses
- a consumer that will call methods onWhatIfAnalysisSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
- Parameters:
nextToken
- If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-