@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricResultV2 extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the metric results.
| Constructor and Description |
|---|
MetricResultV2() |
| Modifier and Type | Method and Description |
|---|---|
MetricResultV2 |
addDimensionsEntry(String key,
String value)
Add a single Dimensions entry
|
MetricResultV2 |
clearDimensionsEntries()
Removes all the entries added into Dimensions.
|
MetricResultV2 |
clone() |
boolean |
equals(Object obj) |
List<MetricDataV2> |
getCollections()
The set of metrics.
|
Map<String,String> |
getDimensions()
The dimension for the metrics.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCollections(Collection<MetricDataV2> collections)
The set of metrics.
|
void |
setDimensions(Map<String,String> dimensions)
The dimension for the metrics.
|
String |
toString()
Returns a string representation of this object.
|
MetricResultV2 |
withCollections(Collection<MetricDataV2> collections)
The set of metrics.
|
MetricResultV2 |
withCollections(MetricDataV2... collections)
The set of metrics.
|
MetricResultV2 |
withDimensions(Map<String,String> dimensions)
The dimension for the metrics.
|
public Map<String,String> getDimensions()
The dimension for the metrics.
public void setDimensions(Map<String,String> dimensions)
The dimension for the metrics.
dimensions - The dimension for the metrics.public MetricResultV2 withDimensions(Map<String,String> dimensions)
The dimension for the metrics.
dimensions - The dimension for the metrics.public MetricResultV2 addDimensionsEntry(String key, String value)
public MetricResultV2 clearDimensionsEntries()
public List<MetricDataV2> getCollections()
The set of metrics.
public void setCollections(Collection<MetricDataV2> collections)
The set of metrics.
collections - The set of metrics.public MetricResultV2 withCollections(MetricDataV2... 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 MetricResultV2 withCollections(Collection<MetricDataV2> collections)
The set of metrics.
collections - The set of metrics.public String toString()
toString in class ObjectObject.toString()public MetricResultV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.