@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoricalMetricResult extends Object implements Serializable, Cloneable, StructuredPojo
The metrics data returned from a GetMetricData
operation.
Constructor and Description |
---|
HistoricalMetricResult() |
Modifier and Type | Method and Description |
---|---|
HistoricalMetricResult |
clone() |
boolean |
equals(Object obj) |
List<HistoricalMetricData> |
getCollections()
A list of
HistoricalMetricData objects. |
Dimensions |
getDimensions()
The
Dimensions for the metrics. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollections(Collection<HistoricalMetricData> collections)
A list of
HistoricalMetricData objects. |
void |
setDimensions(Dimensions dimensions)
The
Dimensions for the metrics. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
HistoricalMetricResult |
withCollections(Collection<HistoricalMetricData> collections)
A list of
HistoricalMetricData objects. |
HistoricalMetricResult |
withCollections(HistoricalMetricData... collections)
A list of
HistoricalMetricData objects. |
HistoricalMetricResult |
withDimensions(Dimensions dimensions)
The
Dimensions for the metrics. |
public void setDimensions(Dimensions dimensions)
The Dimensions
for the metrics.
dimensions
- The Dimensions
for the metrics.public Dimensions getDimensions()
The Dimensions
for the metrics.
Dimensions
for the metrics.public HistoricalMetricResult withDimensions(Dimensions dimensions)
The Dimensions
for the metrics.
dimensions
- The Dimensions
for the metrics.public List<HistoricalMetricData> getCollections()
A list of HistoricalMetricData
objects.
HistoricalMetricData
objects.public void setCollections(Collection<HistoricalMetricData> collections)
A list of HistoricalMetricData
objects.
collections
- A list of HistoricalMetricData
objects.public HistoricalMetricResult withCollections(HistoricalMetricData... collections)
A list of HistoricalMetricData
objects.
NOTE: This method appends the values to the existing list (if any). Use
setCollections(java.util.Collection)
or withCollections(java.util.Collection)
if you want to
override the existing values.
collections
- A list of HistoricalMetricData
objects.public HistoricalMetricResult withCollections(Collection<HistoricalMetricData> collections)
A list of HistoricalMetricData
objects.
collections
- A list of HistoricalMetricData
objects.public String toString()
toString
in class Object
Object.toString()
public HistoricalMetricResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.