@Generated(value="software.amazon.awssdk:codegen") public final class MetricDimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
The dimension of a metric.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDimension.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricDimension.Builder |
builder() |
String |
dimensionName()
A unique identifier for the dimension.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DimensionValueOperator |
operator()
Defines how the
dimensionValues of a dimension are interpreted. |
String |
operatorAsString()
Defines how the
dimensionValues of a dimension are interpreted. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricDimension.Builder> |
serializableBuilderClass() |
MetricDimension.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dimensionName()
A unique identifier for the dimension.
public final DimensionValueOperator operator()
Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null), it will be interpreted as
IN.
If the service returns an enum value that is not available in the current SDK version, operator will
return DimensionValueOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatorAsString().
dimensionValues of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null), it
will be interpreted as IN.DimensionValueOperatorpublic final String operatorAsString()
Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null), it will be interpreted as
IN.
If the service returns an enum value that is not available in the current SDK version, operator will
return DimensionValueOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatorAsString().
dimensionValues of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null), it
will be interpreted as IN.DimensionValueOperatorpublic MetricDimension.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDimension.Builder,MetricDimension>public static MetricDimension.Builder builder()
public static Class<? extends MetricDimension.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.