CopyableBuilder<Metric.Builder,Metric>, SdkBuilder<Metric.Builder,Metric>public static interface Metric.Builder extends CopyableBuilder<Metric.Builder,Metric>
| Modifier and Type | Method | Description |
|---|---|---|
Metric.Builder |
dimensions(Collection<Dimension> dimensions) |
The dimensions for the metric.
|
Metric.Builder |
dimensions(Dimension... dimensions) |
The dimensions for the metric.
|
Metric.Builder |
metricName(String metricName) |
The name of the metric.
|
Metric.Builder |
namespace(String namespace) |
The namespace of the metric.
|
copyapply, buildMetric.Builder namespace(String namespace)
The namespace of the metric.
namespace - The namespace of the metric.Metric.Builder metricName(String metricName)
The name of the metric.
metricName - The name of the metric.Metric.Builder dimensions(Collection<Dimension> dimensions)
The dimensions for the metric.
dimensions - The dimensions for the metric.Metric.Builder dimensions(Dimension... dimensions)
The dimensions for 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 for the metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.