public static interface ListForecastsResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListForecastsResponse.Builder,ListForecastsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListForecastsResponse.Builder |
forecasts(Collection<ForecastSummary> forecasts)
An array of objects that summarize each forecast's properties.
|
ListForecastsResponse.Builder |
forecasts(Consumer<ForecastSummary.Builder>... forecasts)
An array of objects that summarize each forecast's properties.
|
ListForecastsResponse.Builder |
forecasts(ForecastSummary... forecasts)
An array of objects that summarize each forecast's properties.
|
ListForecastsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListForecastsResponse.Builder forecasts(Collection<ForecastSummary> forecasts)
An array of objects that summarize each forecast's properties.
forecasts - An array of objects that summarize each forecast's properties.ListForecastsResponse.Builder forecasts(ForecastSummary... forecasts)
An array of objects that summarize each forecast's properties.
forecasts - An array of objects that summarize each forecast's properties.ListForecastsResponse.Builder forecasts(Consumer<ForecastSummary.Builder>... forecasts)
An array of objects that summarize each forecast's properties.
This is a convenience method that creates an instance of theForecastSummary.Builder avoiding the need to create
one manually via ForecastSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #forecasts(List.
forecasts - a consumer that will call methods on
ForecastSummary.Builder#forecasts(java.util.Collection) ListForecastsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
nextToken - If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results,
use the token in the next request.Copyright © 2023. All rights reserved.