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 ofWhatIfAnalysisSummaryobjects that describe the matched analyses.whatIfAnalyses(Consumer<WhatIfAnalysisSummary.Builder>... whatIfAnalyses) An array ofWhatIfAnalysisSummaryobjects that describe the matched analyses.whatIfAnalyses(WhatIfAnalysisSummary... whatIfAnalyses) An array ofWhatIfAnalysisSummaryobjects that describe the matched analyses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
whatIfAnalyses
An array of
WhatIfAnalysisSummaryobjects that describe the matched analyses.- Parameters:
whatIfAnalyses- An array ofWhatIfAnalysisSummaryobjects that describe the matched analyses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfAnalyses
An array of
WhatIfAnalysisSummaryobjects that describe the matched analyses.- Parameters:
whatIfAnalyses- An array ofWhatIfAnalysisSummaryobjects 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 theWhatIfAnalysisSummaryobjects that describe the matched analyses.WhatIfAnalysisSummary.Builderavoiding the need to create one manually viaWhatIfAnalysisSummary.builder().When the
Consumercompletes,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.
-