Interface GetPredictiveScalingForecastResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetPredictiveScalingForecastResponse.Builder,GetPredictiveScalingForecastResponse>,SdkBuilder<GetPredictiveScalingForecastResponse.Builder,GetPredictiveScalingForecastResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPredictiveScalingForecastResponse
public static interface GetPredictiveScalingForecastResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<GetPredictiveScalingForecastResponse.Builder,GetPredictiveScalingForecastResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPredictiveScalingForecastResponse.BuildercapacityForecast(Consumer<CapacityForecast.Builder> capacityForecast)The capacity forecast.GetPredictiveScalingForecastResponse.BuildercapacityForecast(CapacityForecast capacityForecast)The capacity forecast.GetPredictiveScalingForecastResponse.BuilderloadForecast(Collection<LoadForecast> loadForecast)The load forecast.GetPredictiveScalingForecastResponse.BuilderloadForecast(Consumer<LoadForecast.Builder>... loadForecast)The load forecast.GetPredictiveScalingForecastResponse.BuilderloadForecast(LoadForecast... loadForecast)The load forecast.GetPredictiveScalingForecastResponse.BuilderupdateTime(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 Detail
-
loadForecast
GetPredictiveScalingForecastResponse.Builder loadForecast(Collection<LoadForecast> 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(LoadForecast... 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 to#loadForecast(List.) - 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:
#loadForecast(java.util.Collection)
-
capacityForecast
GetPredictiveScalingForecastResponse.Builder capacityForecast(CapacityForecast 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:
capacityForecast(CapacityForecast)
-
updateTime
GetPredictiveScalingForecastResponse.Builder updateTime(Instant 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.
-
-