@Generated(value="software.amazon.awssdk:codegen") public final class PutMetricDataRequest extends CloudWatchRequest implements ToCopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PutMetricDataRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutMetricDataRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<MetricDatum> |
metricData()
The data for the metric.
|
String |
namespace()
The namespace for the metric data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutMetricDataRequest.Builder> |
serializableBuilderClass() |
PutMetricDataRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.
You cannot specify a namespace that begins with "AWS/". Namespaces that begin with "AWS/" are reserved for use by Amazon Web Services products.
public List<MetricDatum> metricData()
The data for the metric. The array can include no more than 20 metrics per call.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public PutMetricDataRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PutMetricDataRequest.Builder,PutMetricDataRequest>
toBuilder
in class CloudWatchRequest
public static PutMetricDataRequest.Builder builder()
public static Class<? extends PutMetricDataRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2018. All rights reserved.