Class MetricDimension
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.MetricDimension
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricDimension.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDimension.Builderbuilder()StringcomparisonOperator()The operator to use when comparing metric values.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MetricDimension.Builder>serializableBuilderClass()MetricDimension.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The value to compare.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
comparisonOperator
public final 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.
- Returns:
- 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.
-
value
public final Double value()
The value to compare.
- Returns:
- The value to compare.
-
toBuilder
public MetricDimension.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDimension.Builder,MetricDimension>
-
builder
public static MetricDimension.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricDimension.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-