public static interface LoadForecast.Builder extends SdkPojo, CopyableBuilder<LoadForecast.Builder,LoadForecast>
| Modifier and Type | Method and Description |
|---|---|
default LoadForecast.Builder |
metricSpecification(Consumer<PredictiveScalingMetricSpecification.Builder> metricSpecification)
The metric specification for the load forecast.
|
LoadForecast.Builder |
metricSpecification(PredictiveScalingMetricSpecification metricSpecification)
The metric specification for the load forecast.
|
LoadForecast.Builder |
timestamps(Collection<Instant> timestamps)
The time stamps for the data points, in UTC format.
|
LoadForecast.Builder |
timestamps(Instant... timestamps)
The time stamps for the data points, in UTC format.
|
LoadForecast.Builder |
values(Collection<Double> values)
The values of the data points.
|
LoadForecast.Builder |
values(Double... values)
The values of the data points.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLoadForecast.Builder timestamps(Collection<Instant> timestamps)
The time stamps for the data points, in UTC format.
timestamps - The time stamps for the data points, in UTC format.LoadForecast.Builder timestamps(Instant... timestamps)
The time stamps for the data points, in UTC format.
timestamps - The time stamps for the data points, in UTC format.LoadForecast.Builder values(Collection<Double> values)
The values of the data points.
values - The values of the data points.LoadForecast.Builder values(Double... values)
The values of the data points.
values - The values of the data points.LoadForecast.Builder metricSpecification(PredictiveScalingMetricSpecification metricSpecification)
The metric specification for the load forecast.
metricSpecification - The metric specification for the load forecast.default LoadForecast.Builder metricSpecification(Consumer<PredictiveScalingMetricSpecification.Builder> metricSpecification)
The metric specification for the load forecast.
This is a convenience that creates an instance of thePredictiveScalingMetricSpecification.Builder
avoiding the need to create one manually via PredictiveScalingMetricSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to metricSpecification(PredictiveScalingMetricSpecification).metricSpecification - a consumer that will call methods on PredictiveScalingMetricSpecification.BuildermetricSpecification(PredictiveScalingMetricSpecification)Copyright © 2021. All rights reserved.