@Generated(value="software.amazon.awssdk:codegen") public final class MetricDimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDimension.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricDimension.Builder |
builder() |
String |
comparisonOperator()
The operator to use when comparing metric values.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricDimension.Builder> |
serializableBuilderClass() |
MetricDimension.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
value()
The value to compare.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String comparisonOperator()
The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.
public Double value()
The value to compare.
public MetricDimension.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDimension.Builder,MetricDimension>public static MetricDimension.Builder builder()
public static Class<? extends MetricDimension.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.