public class CurrentMetricResult
extends java.lang.Object
implements java.io.Serializable
Contains information about a set of real-time metrics.
Constructor and Description |
---|
CurrentMetricResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CurrentMetricData> |
getCollections()
The set of metrics.
|
Dimensions |
getDimensions()
The dimensions for the metrics.
|
int |
hashCode() |
void |
setCollections(java.util.Collection<CurrentMetricData> collections)
The set of metrics.
|
void |
setDimensions(Dimensions dimensions)
The dimensions for the metrics.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CurrentMetricResult |
withCollections(java.util.Collection<CurrentMetricData> collections)
The set of metrics.
|
CurrentMetricResult |
withCollections(CurrentMetricData... collections)
The set of metrics.
|
CurrentMetricResult |
withDimensions(Dimensions dimensions)
The dimensions for the metrics.
|
public Dimensions getDimensions()
The dimensions for the metrics.
The dimensions for the metrics.
public void setDimensions(Dimensions dimensions)
The dimensions for the metrics.
dimensions
- The dimensions for the metrics.
public CurrentMetricResult withDimensions(Dimensions dimensions)
The dimensions for the metrics.
Returns a reference to this object so that method calls can be chained together.
dimensions
- The dimensions for the metrics.
public java.util.List<CurrentMetricData> getCollections()
The set of metrics.
The set of metrics.
public void setCollections(java.util.Collection<CurrentMetricData> collections)
The set of metrics.
collections
- The set of metrics.
public CurrentMetricResult withCollections(CurrentMetricData... 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 CurrentMetricResult withCollections(java.util.Collection<CurrentMetricData> 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.