public static interface QueryWhatIfForecastResponse.Builder extends ForecastqueryResponse.Builder, SdkPojo, CopyableBuilder<QueryWhatIfForecastResponse.Builder,QueryWhatIfForecastResponse>
| Modifier and Type | Method and Description |
|---|---|
default QueryWhatIfForecastResponse.Builder |
forecast(Consumer<Forecast.Builder> forecast)
Sets the value of the Forecast property for this object.
|
QueryWhatIfForecastResponse.Builder |
forecast(Forecast forecast)
Sets the value of the Forecast property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildQueryWhatIfForecastResponse.Builder forecast(Forecast forecast)
forecast - The new value for the Forecast property for this object.default QueryWhatIfForecastResponse.Builder forecast(Consumer<Forecast.Builder> forecast)
Forecast.Builder avoiding the need to
create one manually via Forecast.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to forecast(Forecast).
forecast - a consumer that will call methods on Forecast.Builderforecast(Forecast)Copyright © 2023. All rights reserved.