Interface MetricsFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MetricsFilter.Builder,MetricsFilter>, SdkBuilder<MetricsFilter.Builder,MetricsFilter>, SdkPojo
Enclosing class:
MetricsFilter

public static interface MetricsFilter.Builder extends SdkPojo, CopyableBuilder<MetricsFilter.Builder,MetricsFilter>
  • Method Details

    • 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

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

      The tag used when evaluating a metrics filter.

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

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

      Parameters:
      tag - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

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

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

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

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