@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutMetricDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutMetricDataRequest() |
Modifier and Type | Method and Description |
---|---|
PutMetricDataRequest |
clone() |
boolean |
equals(Object obj) |
List<MetricDatum> |
getMetricData()
The data for the metric.
|
String |
getNamespace()
The namespace for the metric data.
|
int |
hashCode() |
void |
setMetricData(Collection<MetricDatum> metricData)
The data for the metric.
|
void |
setNamespace(String namespace)
The namespace for the metric data.
|
String |
toString()
Returns a string representation of this object.
|
PutMetricDataRequest |
withMetricData(Collection<MetricDatum> metricData)
The data for the metric.
|
PutMetricDataRequest |
withMetricData(MetricDatum... metricData)
The data for the metric.
|
PutMetricDataRequest |
withNamespace(String namespace)
The namespace for the metric data.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNamespace(String namespace)
The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins
with AWS/
namespace
- The namespace for the metric data. You can use ASCII characters for the namespace, except for control
characters which are not supported.
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that
begins with AWS/
public String getNamespace()
The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins
with AWS/
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that
begins with AWS/
public PutMetricDataRequest withNamespace(String namespace)
The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins
with AWS/
namespace
- The namespace for the metric data. You can use ASCII characters for the namespace, except for control
characters which are not supported.
To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that
begins with AWS/
public List<MetricDatum> getMetricData()
The data for the metric. The array can include no more than 1000 metrics per call.
public void setMetricData(Collection<MetricDatum> metricData)
The data for the metric. The array can include no more than 1000 metrics per call.
metricData
- The data for the metric. The array can include no more than 1000 metrics per call.public PutMetricDataRequest withMetricData(MetricDatum... metricData)
The data for the metric. The array can include no more than 1000 metrics per call.
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. The array can include no more than 1000 metrics per call.public PutMetricDataRequest withMetricData(Collection<MetricDatum> metricData)
The data for the metric. The array can include no more than 1000 metrics per call.
metricData
- The data for the metric. The array can include no more than 1000 metrics per call.public String toString()
toString
in class Object
Object.toString()
public PutMetricDataRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2024. All rights reserved.