Interface LimitsPerLabelSet.Builder

  • Method Details

    • labelSet

      This defines one label set that will have an enforced active time series limit.

      Label values accept ASCII characters and must contain at least one character that isn't whitespace. ASCII control characters are not accepted. If the label name is metric name label __name__, then the metric part of the name must conform to the following pattern: [a-zA-Z_:][a-zA-Z0-9_:]*

      Parameters:
      labelSet - This defines one label set that will have an enforced active time series limit.

      Label values accept ASCII characters and must contain at least one character that isn't whitespace. ASCII control characters are not accepted. If the label name is metric name label __name__, then the metric part of the name must conform to the following pattern: [a-zA-Z_:][a-zA-Z0-9_:]*

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limits

      This structure contains the information about the limits that apply to time series that match this label set.

      Parameters:
      limits - This structure contains the information about the limits that apply to time series that match this label set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limits

      This structure contains the information about the limits that apply to time series that match this label set.

      This is a convenience method that creates an instance of the LimitsPerLabelSetEntry.Builder avoiding the need to create one manually via LimitsPerLabelSetEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to limits(LimitsPerLabelSetEntry).

      Parameters:
      limits - a consumer that will call methods on LimitsPerLabelSetEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: