public class HistoricalMetricResult
extends java.lang.Object
implements java.io.Serializable
Contains information about the historical metrics retrieved.
Constructor and Description |
---|
HistoricalMetricResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<HistoricalMetricData> |
getCollections()
The set of metrics.
|
Dimensions |
getDimensions()
The dimension for the metrics.
|
int |
hashCode() |
void |
setCollections(java.util.Collection<HistoricalMetricData> collections)
The set of metrics.
|
void |
setDimensions(Dimensions dimensions)
The dimension for the metrics.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HistoricalMetricResult |
withCollections(java.util.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 Dimensions getDimensions()
The dimension for the metrics.
The dimension for the metrics.
public void setDimensions(Dimensions dimensions)
The dimension for the metrics.
dimensions
- The dimension for the metrics.
public HistoricalMetricResult withDimensions(Dimensions dimensions)
The dimension for the metrics.
Returns a reference to this object so that method calls can be chained together.
dimensions
- The dimension for the metrics.
public java.util.List<HistoricalMetricData> getCollections()
The set of metrics.
The set of metrics.
public void setCollections(java.util.Collection<HistoricalMetricData> collections)
The set of metrics.
collections
- The set of metrics.
public HistoricalMetricResult withCollections(HistoricalMetricData... collections)
The set of metrics.
Returns a reference to this object so that method calls can be chained together.
collections
- The set of metrics.
public HistoricalMetricResult withCollections(java.util.Collection<HistoricalMetricData> collections)
The set of metrics.
Returns a reference to this object so that method calls can be chained together.
collections
- The set of metrics.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.