@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionKeyDescription extends Object implements Serializable, Cloneable, StructuredPojo
An array of descriptions and aggregated values for each dimension within a dimension group.
| Constructor and Description |
|---|
DimensionKeyDescription() |
| Modifier and Type | Method and Description |
|---|---|
DimensionKeyDescription |
addDimensionsEntry(String key,
String value) |
DimensionKeyDescription |
clearDimensionsEntries()
Removes all the entries added into Dimensions.
|
DimensionKeyDescription |
clone() |
boolean |
equals(Object obj) |
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 dimension(s), over the requested time range.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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 dimension(s), over the requested time range.
|
String |
toString()
Returns a string representation of this object.
|
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 dimension(s), 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 dimension(s), over the requested time range.
total - The aggregated metric value for the dimension(s), over the requested time range.public Double getTotal()
The aggregated metric value for the dimension(s), over the requested time range.
public DimensionKeyDescription withTotal(Double total)
The aggregated metric value for the dimension(s), over the requested time range.
total - The aggregated metric value for the dimension(s), over the requested time range.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.