public static interface MetricDimension.Builder extends SdkPojo, CopyableBuilder<MetricDimension.Builder,MetricDimension>
Modifier and Type | Method and Description |
---|---|
MetricDimension.Builder |
dimensionName(String dimensionName)
A unique identifier for the dimension.
|
MetricDimension.Builder |
operator(DimensionValueOperator operator)
Defines how the
dimensionValues of a dimension are interpreted. |
MetricDimension.Builder |
operator(String operator)
Defines how the
dimensionValues of a dimension are interpreted. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
MetricDimension.Builder dimensionName(String dimensionName)
A unique identifier for the dimension.
dimensionName
- A unique identifier for the dimension.MetricDimension.Builder operator(String 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
.
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
.DimensionValueOperator
,
DimensionValueOperator
MetricDimension.Builder operator(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
.
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
.DimensionValueOperator
,
DimensionValueOperator
Copyright © 2021. All rights reserved.