Interface ListWhatIfForecastsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWhatIfForecastsResponse.Builder,ListWhatIfForecastsResponse>,ForecastResponse.Builder,SdkBuilder<ListWhatIfForecastsResponse.Builder,ListWhatIfForecastsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListWhatIfForecastsResponse
public static interface ListWhatIfForecastsResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListWhatIfForecastsResponse.Builder,ListWhatIfForecastsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWhatIfForecastsResponse.BuildernextToken(String nextToken)If the result of the previous request was truncated, the response includes aNextToken.ListWhatIfForecastsResponse.BuilderwhatIfForecasts(Collection<WhatIfForecastSummary> whatIfForecasts)An array ofWhatIfForecastsobjects that describe the matched forecasts.ListWhatIfForecastsResponse.BuilderwhatIfForecasts(Consumer<WhatIfForecastSummary.Builder>... whatIfForecasts)An array ofWhatIfForecastsobjects that describe the matched forecasts.ListWhatIfForecastsResponse.BuilderwhatIfForecasts(WhatIfForecastSummary... whatIfForecasts)An array ofWhatIfForecastsobjects that describe the matched forecasts.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
whatIfForecasts
ListWhatIfForecastsResponse.Builder whatIfForecasts(Collection<WhatIfForecastSummary> whatIfForecasts)
An array of
WhatIfForecastsobjects that describe the matched forecasts.- Parameters:
whatIfForecasts- An array ofWhatIfForecastsobjects that describe the matched forecasts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecasts
ListWhatIfForecastsResponse.Builder whatIfForecasts(WhatIfForecastSummary... whatIfForecasts)
An array of
WhatIfForecastsobjects that describe the matched forecasts.- Parameters:
whatIfForecasts- An array ofWhatIfForecastsobjects that describe the matched forecasts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfForecasts
ListWhatIfForecastsResponse.Builder whatIfForecasts(Consumer<WhatIfForecastSummary.Builder>... whatIfForecasts)
An array of
This is a convenience method that creates an instance of theWhatIfForecastsobjects that describe the matched forecasts.WhatIfForecastSummary.Builderavoiding the need to create one manually viaWhatIfForecastSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#whatIfForecasts(List.) - Parameters:
whatIfForecasts- a consumer that will call methods onWhatIfForecastSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#whatIfForecasts(java.util.Collection)
-
nextToken
ListWhatIfForecastsResponse.Builder nextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.- Parameters:
nextToken- If the result of the previous request was truncated, the response includes aNextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-