@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionKeyDescription extends Object implements Serializable, Cloneable, StructuredPojo
An object that includes the requested dimension key values and aggregated metric values within a dimension group.
| Constructor and Description |
|---|
DimensionKeyDescription() |
| Modifier and Type | Method and Description |
|---|---|
DimensionKeyDescription |
addAdditionalMetricsEntry(String key,
Double value)
Add a single AdditionalMetrics entry
|
DimensionKeyDescription |
addDimensionsEntry(String key,
String value)
Add a single Dimensions entry
|
DimensionKeyDescription |
clearAdditionalMetricsEntries()
Removes all the entries added into AdditionalMetrics.
|
DimensionKeyDescription |
clearDimensionsEntries()
Removes all the entries added into Dimensions.
|
DimensionKeyDescription |
clone() |
boolean |
equals(Object obj) |
Map<String,Double> |
getAdditionalMetrics()
A map that contains the value for each additional metric.
|
Map<String,String> |
getDimensions()
A map of name-value pairs for the dimensions in the group.
|
List<Double> |
getPartitions()
If
PartitionBy was specified, PartitionKeys contains the dimensions that were. |
Double |
getTotal()
The aggregated metric value for the dimensions, over the requested time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalMetrics(Map<String,Double> additionalMetrics)
A map that contains the value for each additional metric.
|
void |
setDimensions(Map<String,String> dimensions)
A map of name-value pairs for the dimensions in the group.
|
void |
setPartitions(Collection<Double> partitions)
If
PartitionBy was specified, PartitionKeys contains the dimensions that were. |
void |
setTotal(Double total)
The aggregated metric value for the dimensions, over the requested time range.
|
String |
toString()
Returns a string representation of this object.
|
DimensionKeyDescription |
withAdditionalMetrics(Map<String,Double> additionalMetrics)
A map that contains the value for each additional metric.
|
DimensionKeyDescription |
withDimensions(Map<String,String> dimensions)
A map of name-value pairs for the dimensions in the group.
|
DimensionKeyDescription |
withPartitions(Collection<Double> partitions)
If
PartitionBy was specified, PartitionKeys contains the dimensions that were. |
DimensionKeyDescription |
withPartitions(Double... partitions)
If
PartitionBy was specified, PartitionKeys contains the dimensions that were. |
DimensionKeyDescription |
withTotal(Double total)
The aggregated metric value for the dimensions, over the requested time range.
|
public Map<String,String> getDimensions()
A map of name-value pairs for the dimensions in the group.
public void setDimensions(Map<String,String> dimensions)
A map of name-value pairs for the dimensions in the group.
dimensions - A map of name-value pairs for the dimensions in the group.public DimensionKeyDescription withDimensions(Map<String,String> dimensions)
A map of name-value pairs for the dimensions in the group.
dimensions - A map of name-value pairs for the dimensions in the group.public DimensionKeyDescription addDimensionsEntry(String key, String value)
public DimensionKeyDescription clearDimensionsEntries()
public void setTotal(Double total)
The aggregated metric value for the dimensions, over the requested time range.
total - The aggregated metric value for the dimensions, over the requested time range.public Double getTotal()
The aggregated metric value for the dimensions, over the requested time range.
public DimensionKeyDescription withTotal(Double total)
The aggregated metric value for the dimensions, over the requested time range.
total - The aggregated metric value for the dimensions, over the requested time range.public Map<String,Double> getAdditionalMetrics()
A map that contains the value for each additional metric.
public void setAdditionalMetrics(Map<String,Double> additionalMetrics)
A map that contains the value for each additional metric.
additionalMetrics - A map that contains the value for each additional metric.public DimensionKeyDescription withAdditionalMetrics(Map<String,Double> additionalMetrics)
A map that contains the value for each additional metric.
additionalMetrics - A map that contains the value for each additional metric.public DimensionKeyDescription addAdditionalMetricsEntry(String key, Double value)
public DimensionKeyDescription clearAdditionalMetricsEntries()
public List<Double> getPartitions()
If PartitionBy was specified, PartitionKeys contains the dimensions that were.
PartitionBy was specified, PartitionKeys contains the dimensions that were.public void setPartitions(Collection<Double> partitions)
If PartitionBy was specified, PartitionKeys contains the dimensions that were.
partitions - If PartitionBy was specified, PartitionKeys contains the dimensions that were.public DimensionKeyDescription withPartitions(Double... partitions)
If PartitionBy was specified, PartitionKeys contains the dimensions that were.
NOTE: This method appends the values to the existing list (if any). Use
setPartitions(java.util.Collection) or withPartitions(java.util.Collection) if you want to
override the existing values.
partitions - If PartitionBy was specified, PartitionKeys contains the dimensions that were.public DimensionKeyDescription withPartitions(Collection<Double> partitions)
If PartitionBy was specified, PartitionKeys contains the dimensions that were.
partitions - If PartitionBy was specified, PartitionKeys contains the dimensions that were.public String toString()
toString in class ObjectObject.toString()public DimensionKeyDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.