@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
PublishMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEnvironmentName()
Internal only.
|
List<MetricDatum> |
getMetricData()
Internal only.
|
int |
hashCode() |
void |
setEnvironmentName(String environmentName)
Internal only.
|
void |
setMetricData(Collection<MetricDatum> metricData)
Internal only.
|
String |
toString()
Returns a string representation of this object.
|
PublishMetricsRequest |
withEnvironmentName(String environmentName)
Internal only.
|
PublishMetricsRequest |
withMetricData(Collection<MetricDatum> metricData)
Internal only.
|
PublishMetricsRequest |
withMetricData(MetricDatum... metricData)
Internal only.
|
addHandlerContext, 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 setEnvironmentName(String environmentName)
Internal only. The name of the environment.
environmentName
- Internal only. The name of the environment.public String getEnvironmentName()
Internal only. The name of the environment.
public PublishMetricsRequest withEnvironmentName(String environmentName)
Internal only. The name of the environment.
environmentName
- Internal only. The name of the environment.public List<MetricDatum> getMetricData()
Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
public void setMetricData(Collection<MetricDatum> metricData)
Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
metricData
- Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to
Amazon CloudWatch, see Amazon
MWAA performance metrics in Amazon CloudWatch.public PublishMetricsRequest withMetricData(MetricDatum... metricData)
Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
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
- Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to
Amazon CloudWatch, see Amazon
MWAA performance metrics in Amazon CloudWatch.public PublishMetricsRequest withMetricData(Collection<MetricDatum> metricData)
Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
metricData
- Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to
Amazon CloudWatch, see Amazon
MWAA performance metrics in Amazon CloudWatch.public String toString()
toString
in class Object
Object.toString()
public PublishMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()