public static interface CustomizedLoadMetricSpecification.Builder extends SdkPojo, CopyableBuilder<CustomizedLoadMetricSpecification.Builder,CustomizedLoadMetricSpecification>
| Modifier and Type | Method and Description |
|---|---|
CustomizedLoadMetricSpecification.Builder |
dimensions(Collection<MetricDimension> dimensions)
The dimensions of the metric.
|
CustomizedLoadMetricSpecification.Builder |
dimensions(Consumer<MetricDimension.Builder>... dimensions)
The dimensions of the metric.
|
CustomizedLoadMetricSpecification.Builder |
dimensions(MetricDimension... dimensions)
The dimensions of the metric.
|
CustomizedLoadMetricSpecification.Builder |
metricName(String metricName)
The name of the metric.
|
CustomizedLoadMetricSpecification.Builder |
namespace(String namespace)
The namespace of the metric.
|
CustomizedLoadMetricSpecification.Builder |
statistic(MetricStatistic statistic)
The statistic of the metric.
|
CustomizedLoadMetricSpecification.Builder |
statistic(String statistic)
The statistic of the metric.
|
CustomizedLoadMetricSpecification.Builder |
unit(String unit)
The unit of the metric.
|
copyapplyMutation, buildCustomizedLoadMetricSpecification.Builder metricName(String metricName)
The name of the metric.
metricName - The name of the metric.CustomizedLoadMetricSpecification.Builder namespace(String namespace)
The namespace of the metric.
namespace - The namespace of the metric.CustomizedLoadMetricSpecification.Builder dimensions(Collection<MetricDimension> dimensions)
The dimensions of the metric.
dimensions - The dimensions of the metric.CustomizedLoadMetricSpecification.Builder dimensions(MetricDimension... dimensions)
The dimensions of the metric.
dimensions - The dimensions of the metric.CustomizedLoadMetricSpecification.Builder dimensions(Consumer<MetricDimension.Builder>... dimensions)
The dimensions of the metric.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #dimensions(List) .dimensions - a consumer that will call methods on List.Builder #dimensions(List) CustomizedLoadMetricSpecification.Builder statistic(String statistic)
The statistic of the metric. Currently, the value must always be Sum.
statistic - The statistic of the metric. Currently, the value must always be Sum.MetricStatistic,
MetricStatisticCustomizedLoadMetricSpecification.Builder statistic(MetricStatistic statistic)
The statistic of the metric. Currently, the value must always be Sum.
statistic - The statistic of the metric. Currently, the value must always be Sum.MetricStatistic,
MetricStatisticCustomizedLoadMetricSpecification.Builder unit(String unit)
The unit of the metric.
unit - The unit of the metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.