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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaLoadForecast.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCapacityForecast.builder().When the
Consumercompletes,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.
-