@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetInstanceMetricDataResult() |
| Modifier and Type | Method and Description |
|---|---|
GetInstanceMetricDataResult |
clone() |
boolean |
equals(Object obj) |
List<MetricDatapoint> |
getMetricData()
An array of objects that describe the metric data returned.
|
String |
getMetricName()
The name of the metric returned.
|
int |
hashCode() |
void |
setMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
|
void |
setMetricName(InstanceMetricName metricName)
The name of the metric returned.
|
void |
setMetricName(String metricName)
The name of the metric returned.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceMetricDataResult |
withMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
|
GetInstanceMetricDataResult |
withMetricData(MetricDatapoint... metricData)
An array of objects that describe the metric data returned.
|
GetInstanceMetricDataResult |
withMetricName(InstanceMetricName metricName)
The name of the metric returned.
|
GetInstanceMetricDataResult |
withMetricName(String metricName)
The name of the metric returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setMetricName(String metricName)
The name of the metric returned.
metricName - The name of the metric returned.InstanceMetricNamepublic String getMetricName()
The name of the metric returned.
InstanceMetricNamepublic GetInstanceMetricDataResult withMetricName(String metricName)
The name of the metric returned.
metricName - The name of the metric returned.InstanceMetricNamepublic void setMetricName(InstanceMetricName metricName)
The name of the metric returned.
metricName - The name of the metric returned.InstanceMetricNamepublic GetInstanceMetricDataResult withMetricName(InstanceMetricName metricName)
The name of the metric returned.
metricName - The name of the metric returned.InstanceMetricNamepublic List<MetricDatapoint> getMetricData()
An array of objects that describe the metric data returned.
public void setMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
metricData - An array of objects that describe the metric data returned.public GetInstanceMetricDataResult withMetricData(MetricDatapoint... metricData)
An array of objects that describe the metric data returned.
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 - An array of objects that describe the metric data returned.public GetInstanceMetricDataResult withMetricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
metricData - An array of objects that describe the metric data returned.public String toString()
toString in class ObjectObject.toString()public GetInstanceMetricDataResult clone()