public static interface PutMetricDataRequest.Builder extends CloudWatchRequest.Builder, CopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
| Modifier and Type | Method and Description |
|---|---|
PutMetricDataRequest.Builder |
metricData(Collection<MetricDatum> metricData)
The data for the metric.
|
PutMetricDataRequest.Builder |
metricData(Consumer<MetricDatum.Builder>... 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.
|
PutMetricDataRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutMetricDataRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildPutMetricDataRequest.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.
metricData - The data for the metric.PutMetricDataRequest.Builder metricData(Consumer<MetricDatum.Builder>... metricData)
The data for 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 #metricData(List) .metricData - a consumer that will call methods on List.Builder #metricData(List) PutMetricDataRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutMetricDataRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.