@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoricalMetricResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the historical metrics retrieved.
Constructor and Description |
---|
HistoricalMetricResult() |
Modifier and Type | Method and Description |
---|---|
HistoricalMetricResult |
clone() |
boolean |
equals(Object obj) |
List<HistoricalMetricData> |
getCollections()
The set of metrics.
|
Dimensions |
getDimensions()
The dimension for the metrics.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollections(Collection<HistoricalMetricData> collections)
The set of metrics.
|
void |
setDimensions(Dimensions dimensions)
The dimension for the metrics.
|
String |
toString()
Returns a string representation of this object.
|
HistoricalMetricResult |
withCollections(Collection<HistoricalMetricData> collections)
The set of metrics.
|
HistoricalMetricResult |
withCollections(HistoricalMetricData... collections)
The set of metrics.
|
HistoricalMetricResult |
withDimensions(Dimensions dimensions)
The dimension for the metrics.
|
public void setDimensions(Dimensions dimensions)
The dimension for the metrics.
dimensions
- The dimension for the metrics.public Dimensions getDimensions()
The dimension for the metrics.
public HistoricalMetricResult withDimensions(Dimensions dimensions)
The dimension for the metrics.
dimensions
- The dimension for the metrics.public List<HistoricalMetricData> getCollections()
The set of metrics.
public void setCollections(Collection<HistoricalMetricData> collections)
The set of metrics.
collections
- The set of metrics.public HistoricalMetricResult withCollections(HistoricalMetricData... collections)
The set of metrics.
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
- The set of metrics.public HistoricalMetricResult withCollections(Collection<HistoricalMetricData> collections)
The set of metrics.
collections
- The set of metrics.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.