Interface GetPredictiveScalingForecastResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPredictiveScalingForecastResponse.Builder,
,GetPredictiveScalingForecastResponse> SdkBuilder<GetPredictiveScalingForecastResponse.Builder,
,GetPredictiveScalingForecastResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPredictiveScalingForecastResponse
@Mutable
@NotThreadSafe
public static interface GetPredictiveScalingForecastResponse.Builder
extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<GetPredictiveScalingForecastResponse.Builder,GetPredictiveScalingForecastResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityForecast
(Consumer<CapacityForecast.Builder> capacityForecast) The capacity forecast.capacityForecast
(CapacityForecast capacityForecast) The capacity forecast.loadForecast
(Collection<LoadForecast> loadForecast) The load forecast.loadForecast
(Consumer<LoadForecast.Builder>... loadForecast) The load forecast.loadForecast
(LoadForecast... loadForecast) The load forecast.updateTime
(Instant updateTime) The time the forecast was made.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
loadForecast
The load forecast.
- Parameters:
loadForecast
- The load forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadForecast
The load forecast.
- Parameters:
loadForecast
- The load forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadForecast
GetPredictiveScalingForecastResponse.Builder loadForecast(Consumer<LoadForecast.Builder>... loadForecast) The load forecast.
This is a convenience method that creates an instance of theLoadForecast.Builder
avoiding the need to create one manually viaLoadForecast.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadForecast(List<LoadForecast>)
.- Parameters:
loadForecast
- a consumer that will call methods onLoadForecast.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityForecast
The capacity forecast.
- Parameters:
capacityForecast
- The capacity forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityForecast
default GetPredictiveScalingForecastResponse.Builder capacityForecast(Consumer<CapacityForecast.Builder> capacityForecast) The capacity forecast.
This is a convenience method that creates an instance of theCapacityForecast.Builder
avoiding the need to create one manually viaCapacityForecast.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityForecast(CapacityForecast)
.- Parameters:
capacityForecast
- a consumer that will call methods onCapacityForecast.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateTime
The time the forecast was made.
- Parameters:
updateTime
- The time the forecast was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-