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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWhatIfForecastExportsResponse.BuildernextToken(String nextToken)If the response is truncated, Forecast returns this token.ListWhatIfForecastExportsResponse.BuilderwhatIfForecastExports(Collection<WhatIfForecastExportSummary> whatIfForecastExports)An array ofWhatIfForecastExportsobjects that describe the matched forecast exports.ListWhatIfForecastExportsResponse.BuilderwhatIfForecastExports(Consumer<WhatIfForecastExportSummary.Builder>... whatIfForecastExports)An array ofWhatIfForecastExportsobjects that describe the matched forecast exports.ListWhatIfForecastExportsResponse.BuilderwhatIfForecastExports(WhatIfForecastExportSummary... whatIfForecastExports)An array ofWhatIfForecastExportsobjects 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 Detail
-
whatIfForecastExports
ListWhatIfForecastExportsResponse.Builder whatIfForecastExports(Collection<WhatIfForecastExportSummary> whatIfForecastExports)
An array of
WhatIfForecastExportsobjects that describe the matched forecast exports.- Parameters:
whatIfForecastExports- An array ofWhatIfForecastExportsobjects 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
WhatIfForecastExportsobjects that describe the matched forecast exports.- Parameters:
whatIfForecastExports- An array ofWhatIfForecastExportsobjects 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 theWhatIfForecastExportsobjects that describe the matched forecast exports.WhatIfForecastExportSummary.Builderavoiding the need to create one manually viaWhatIfForecastExportSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#whatIfForecastExports(List.) - 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:
#whatIfForecastExports(java.util.Collection)
-
nextToken
ListWhatIfForecastExportsResponse.Builder nextToken(String 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.
-
-