Interface ListWhatIfForecastExportsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWhatIfForecastExportsResponse.Builder,
,ListWhatIfForecastExportsResponse> ForecastResponse.Builder
,SdkBuilder<ListWhatIfForecastExportsResponse.Builder,
,ListWhatIfForecastExportsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWhatIfForecastExportsResponse
public static interface ListWhatIfForecastExportsResponse.Builder
extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListWhatIfForecastExportsResponse.Builder,ListWhatIfForecastExportsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Forecast returns this token.whatIfForecastExports
(Collection<WhatIfForecastExportSummary> whatIfForecastExports) An array ofWhatIfForecastExports
objects that describe the matched forecast exports.whatIfForecastExports
(Consumer<WhatIfForecastExportSummary.Builder>... whatIfForecastExports) An array ofWhatIfForecastExports
objects that describe the matched forecast exports.whatIfForecastExports
(WhatIfForecastExportSummary... whatIfForecastExports) An array ofWhatIfForecastExports
objects that describe the matched forecast exports.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
-
whatIfForecastExports
ListWhatIfForecastExportsResponse.Builder whatIfForecastExports(Collection<WhatIfForecastExportSummary> whatIfForecastExports) An array of
WhatIfForecastExports
objects that describe the matched forecast exports.- Parameters:
whatIfForecastExports
- An array ofWhatIfForecastExports
objects that describe the matched forecast exports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastExports
ListWhatIfForecastExportsResponse.Builder whatIfForecastExports(WhatIfForecastExportSummary... whatIfForecastExports) An array of
WhatIfForecastExports
objects that describe the matched forecast exports.- Parameters:
whatIfForecastExports
- An array ofWhatIfForecastExports
objects that describe the matched forecast exports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecastExports
ListWhatIfForecastExportsResponse.Builder whatIfForecastExports(Consumer<WhatIfForecastExportSummary.Builder>... whatIfForecastExports) An array of
This is a convenience method that creates an instance of theWhatIfForecastExports
objects that describe the matched forecast exports.WhatIfForecastExportSummary.Builder
avoiding the need to create one manually viaWhatIfForecastExportSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towhatIfForecastExports(List<WhatIfForecastExportSummary>)
.- Parameters:
whatIfForecastExports
- a consumer that will call methods onWhatIfForecastExportSummary.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.
-