Interface QueryWhatIfForecastResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<QueryWhatIfForecastResponse.Builder,QueryWhatIfForecastResponse>,ForecastqueryResponse.Builder,SdkBuilder<QueryWhatIfForecastResponse.Builder,QueryWhatIfForecastResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- QueryWhatIfForecastResponse
public static interface QueryWhatIfForecastResponse.Builder extends ForecastqueryResponse.Builder, SdkPojo, CopyableBuilder<QueryWhatIfForecastResponse.Builder,QueryWhatIfForecastResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QueryWhatIfForecastResponse.Builderforecast(Consumer<Forecast.Builder> forecast)Sets the value of the Forecast property for this object.QueryWhatIfForecastResponse.Builderforecast(Forecast forecast)Sets the value of the Forecast property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.forecastquery.model.ForecastqueryResponse.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
-
forecast
QueryWhatIfForecastResponse.Builder forecast(Forecast forecast)
Sets the value of the Forecast property for this object.- Parameters:
forecast- The new value for the Forecast property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecast
default QueryWhatIfForecastResponse.Builder forecast(Consumer<Forecast.Builder> forecast)
Sets the value of the Forecast property for this object. This is a convenience method that creates an instance of theForecast.Builderavoiding the need to create one manually viaForecast.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toforecast(Forecast).- Parameters:
forecast- a consumer that will call methods onForecast.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
forecast(Forecast)
-
-