Interface PredictiveScalingCustomizedLoadMetric.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictiveScalingCustomizedLoadMetric.Builder,PredictiveScalingCustomizedLoadMetric>
,SdkBuilder<PredictiveScalingCustomizedLoadMetric.Builder,PredictiveScalingCustomizedLoadMetric>
,SdkPojo
- Enclosing class:
- PredictiveScalingCustomizedLoadMetric
public static interface PredictiveScalingCustomizedLoadMetric.Builder extends SdkPojo, CopyableBuilder<PredictiveScalingCustomizedLoadMetric.Builder,PredictiveScalingCustomizedLoadMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PredictiveScalingCustomizedLoadMetric.Builder
metricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a load metric.PredictiveScalingCustomizedLoadMetric.Builder
metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries)
One or more metric data queries to provide the data points for a load metric.PredictiveScalingCustomizedLoadMetric.Builder
metricDataQueries(MetricDataQuery... metricDataQueries)
One or more metric data queries to provide the data points for a load metric.-
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, sdkFields
-
-
-
-
Method Detail
-
metricDataQueries
PredictiveScalingCustomizedLoadMetric.Builder metricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.
- Parameters:
metricDataQueries
- One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
PredictiveScalingCustomizedLoadMetric.Builder metricDataQueries(MetricDataQuery... metricDataQueries)
One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.
- Parameters:
metricDataQueries
- One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDataQueries
PredictiveScalingCustomizedLoadMetric.Builder metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries)
One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.
This is a convenience method that creates an instance of theMetricDataQuery.Builder
avoiding the need to create one manually viaMetricDataQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#metricDataQueries(List
.) - Parameters:
metricDataQueries
- a consumer that will call methods onMetricDataQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricDataQueries(java.util.Collection
)
-
-