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 Details

    • 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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: