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