Interface MetricDimension.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricDimension.Builder,MetricDimension>,SdkBuilder<MetricDimension.Builder,MetricDimension>,SdkPojo
- Enclosing class:
- MetricDimension
public static interface MetricDimension.Builder extends SdkPojo, CopyableBuilder<MetricDimension.Builder,MetricDimension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDimension.BuilderdimensionName(String dimensionName)A unique identifier for the dimension.MetricDimension.Builderoperator(String operator)Defines how thedimensionValuesof a dimension are interpreted.MetricDimension.Builderoperator(DimensionValueOperator operator)Defines how thedimensionValuesof a dimension are interpreted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dimensionName
MetricDimension.Builder dimensionName(String dimensionName)
A unique identifier for the dimension.
- Parameters:
dimensionName- A unique identifier for the dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
MetricDimension.Builder operator(String operator)
Defines how the
dimensionValuesof a dimension are interpreted. For example, for dimension type TOPIC_FILTER, theINoperator, a message will be counted only if its topic matches one of the topic filters. WithNOT_INoperator, 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 (isnull), it will be interpreted asIN.- Parameters:
operator- Defines how thedimensionValuesof a dimension are interpreted. For example, for dimension type TOPIC_FILTER, theINoperator, a message will be counted only if its topic matches one of the topic filters. WithNOT_INoperator, 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 (isnull), it will be interpreted asIN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DimensionValueOperator,DimensionValueOperator
-
operator
MetricDimension.Builder operator(DimensionValueOperator operator)
Defines how the
dimensionValuesof a dimension are interpreted. For example, for dimension type TOPIC_FILTER, theINoperator, a message will be counted only if its topic matches one of the topic filters. WithNOT_INoperator, 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 (isnull), it will be interpreted asIN.- Parameters:
operator- Defines how thedimensionValuesof a dimension are interpreted. For example, for dimension type TOPIC_FILTER, theINoperator, a message will be counted only if its topic matches one of the topic filters. WithNOT_INoperator, 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 (isnull), it will be interpreted asIN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DimensionValueOperator,DimensionValueOperator
-
-