CopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
, SdkBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
public static interface PutMetricDataRequest.Builder extends CopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
Modifier and Type | Method | Description |
---|---|---|
PutMetricDataRequest.Builder |
metricData(Collection<MetricDatum> metricData) |
The data for the metric.
|
PutMetricDataRequest.Builder |
metricData(MetricDatum... metricData) |
The data for the metric.
|
PutMetricDataRequest.Builder |
namespace(String namespace) |
The namespace for the metric data.
|
copy
apply, build
PutMetricDataRequest.Builder namespace(String namespace)
The namespace for the metric data.
You cannot specify a namespace that begins with "AWS/". Namespaces that begin with "AWS/" are reserved for use by Amazon Web Services products.
namespace
- The namespace for the metric data.
You cannot specify a namespace that begins with "AWS/". Namespaces that begin with "AWS/" are reserved for use by Amazon Web Services products.
PutMetricDataRequest.Builder metricData(Collection<MetricDatum> metricData)
The data for the metric.
metricData
- The data for the metric.PutMetricDataRequest.Builder metricData(MetricDatum... metricData)
The data for the metric.
NOTE: This method appends the values to the existing list (if any). Use
#setMetricData(java.util.Collection)
or #withMetricData(java.util.Collection)
if you want to
override the existing values.
metricData
- The data for the metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.