@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CurrentMetricResult extends Object implements Serializable, Cloneable, StructuredPojo
A CurrentMetricResult
object.
Constructor and Description |
---|
CurrentMetricResult() |
Modifier and Type | Method and Description |
---|---|
CurrentMetricResult |
clone() |
boolean |
equals(Object obj) |
List<CurrentMetricData> |
getCollections()
The
Collections for the CurrentMetricResult object. |
Dimensions |
getDimensions()
The
Dimensions for the CurrentMetricResult object. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollections(Collection<CurrentMetricData> collections)
The
Collections for the CurrentMetricResult object. |
void |
setDimensions(Dimensions dimensions)
The
Dimensions for the CurrentMetricResult object. |
String |
toString()
Returns a string representation of this object.
|
CurrentMetricResult |
withCollections(Collection<CurrentMetricData> collections)
The
Collections for the CurrentMetricResult object. |
CurrentMetricResult |
withCollections(CurrentMetricData... collections)
The
Collections for the CurrentMetricResult object. |
CurrentMetricResult |
withDimensions(Dimensions dimensions)
The
Dimensions for the CurrentMetricResult object. |
public void setDimensions(Dimensions dimensions)
The Dimensions
for the CurrentMetricResult
object.
dimensions
- The Dimensions
for the CurrentMetricResult
object.public Dimensions getDimensions()
The Dimensions
for the CurrentMetricResult
object.
Dimensions
for the CurrentMetricResult
object.public CurrentMetricResult withDimensions(Dimensions dimensions)
The Dimensions
for the CurrentMetricResult
object.
dimensions
- The Dimensions
for the CurrentMetricResult
object.public List<CurrentMetricData> getCollections()
The Collections
for the CurrentMetricResult
object.
Collections
for the CurrentMetricResult
object.public void setCollections(Collection<CurrentMetricData> collections)
The Collections
for the CurrentMetricResult
object.
collections
- The Collections
for the CurrentMetricResult
object.public CurrentMetricResult withCollections(CurrentMetricData... collections)
The Collections
for the CurrentMetricResult
object.
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 Collections
for the CurrentMetricResult
object.public CurrentMetricResult withCollections(Collection<CurrentMetricData> collections)
The Collections
for the CurrentMetricResult
object.
collections
- The Collections
for the CurrentMetricResult
object.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.