@Generated(value="software.amazon.awssdk:codegen") public final class DimensionKeyDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DimensionKeyDescription.Builder,DimensionKeyDescription>
An array of descriptions and aggregated values for each dimension within a dimension group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DimensionKeyDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DimensionKeyDescription.Builder |
builder() |
Map<String,String> |
dimensions()
A map of name-value pairs for the dimensions in the group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Returns true if the Dimensions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPartitions()
Returns true if the Partitions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<Double> |
partitions()
If
PartitionBy was specified, PartitionKeys contains the dimensions that were. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DimensionKeyDescription.Builder> |
serializableBuilderClass() |
DimensionKeyDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
total()
The aggregated metric value for the dimension(s), over the requested time range.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasDimensions()
public Map<String,String> dimensions()
A map of name-value pairs for the dimensions in the group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensions() to see if a value was sent in this field.
public Double total()
The aggregated metric value for the dimension(s), over the requested time range.
public boolean hasPartitions()
public List<Double> partitions()
If PartitionBy was specified, PartitionKeys contains the dimensions that were.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPartitions() to see if a value was sent in this field.
PartitionBy was specified, PartitionKeys contains the dimensions that were.public DimensionKeyDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DimensionKeyDescription.Builder,DimensionKeyDescription>public static DimensionKeyDescription.Builder builder()
public static Class<? extends DimensionKeyDescription.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.