Interface MetricsFilter.Builder

    • Method Detail

      • prefix

        MetricsFilter.Builder prefix​(String prefix)

        The prefix used when evaluating a metrics filter.

        Parameters:
        prefix - The prefix used when evaluating a metrics filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tag

        MetricsFilter.Builder tag​(Tag tag)

        The tag used when evaluating a metrics filter.

        Parameters:
        tag - The tag used when evaluating a metrics filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPointArn

        MetricsFilter.Builder accessPointArn​(String accessPointArn)

        The access point ARN used when evaluating a metrics filter.

        Parameters:
        accessPointArn - The access point ARN used when evaluating a metrics filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • and

        MetricsFilter.Builder and​(MetricsAndOperator and)

        A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.

        Parameters:
        and - A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.