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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricDimension.Builderbuilder()final StringThe operator to use when comparing metric values.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends MetricDimension.Builder>final StringtoString()Returns a string representation of this object.final Doublevalue()The value to compare.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The value to compare.
- Returns:
- The value to compare.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDimension.Builder,MetricDimension>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-