CopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
, SdkBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
public static interface CustomizedMetricSpecification.Builder extends CopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
Modifier and Type | Method | Description |
---|---|---|
CustomizedMetricSpecification.Builder |
dimensions(Collection<MetricDimension> dimensions) |
The dimensions of the metric.
|
CustomizedMetricSpecification.Builder |
dimensions(MetricDimension... dimensions) |
The dimensions of the metric.
|
CustomizedMetricSpecification.Builder |
metricName(String metricName) |
The name of the metric.
|
CustomizedMetricSpecification.Builder |
namespace(String namespace) |
The namespace of the metric.
|
CustomizedMetricSpecification.Builder |
statistic(String statistic) |
The statistic of the metric.
|
CustomizedMetricSpecification.Builder |
statistic(MetricStatistic statistic) |
The statistic of the metric.
|
CustomizedMetricSpecification.Builder |
unit(String unit) |
The unit of the metric.
|
copy
apply, build
CustomizedMetricSpecification.Builder metricName(String metricName)
The name of the metric.
metricName
- The name of the metric.CustomizedMetricSpecification.Builder namespace(String namespace)
The namespace of the metric.
namespace
- The namespace of the metric.CustomizedMetricSpecification.Builder dimensions(Collection<MetricDimension> dimensions)
The dimensions of the metric.
dimensions
- The dimensions of the metric.CustomizedMetricSpecification.Builder dimensions(MetricDimension... dimensions)
The dimensions of the metric.
NOTE: This method appends the values to the existing list (if any). Use
#setDimensions(java.util.Collection)
or #withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The dimensions of the metric.CustomizedMetricSpecification.Builder statistic(String statistic)
The statistic of the metric.
statistic
- The statistic of the metric.MetricStatistic
CustomizedMetricSpecification.Builder statistic(MetricStatistic statistic)
The statistic of the metric.
statistic
- The statistic of the metric.MetricStatistic
CustomizedMetricSpecification.Builder unit(String unit)
The unit of the metric.
unit
- The unit of the metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.