public static interface MetricsFilter.Builder extends SdkPojo, CopyableBuilder<MetricsFilter.Builder,MetricsFilter>
| Modifier and Type | Method and Description |
|---|---|
default MetricsFilter.Builder |
and(Consumer<MetricsAndOperator.Builder> and)
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.
|
MetricsFilter.Builder |
and(MetricsAndOperator and)
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.
|
MetricsFilter.Builder |
prefix(String prefix)
The prefix used when evaluating a metrics filter.
|
default MetricsFilter.Builder |
tag(Consumer<Tag.Builder> tag)
The tag used when evaluating a metrics filter.
|
MetricsFilter.Builder |
tag(Tag tag)
The tag used when evaluating a metrics filter.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricsFilter.Builder prefix(String prefix)
The prefix used when evaluating a metrics filter.
prefix - The prefix used when evaluating a metrics filter.MetricsFilter.Builder tag(Tag tag)
The tag used when evaluating a metrics filter.
tag - The tag used when evaluating a metrics filter.default MetricsFilter.Builder tag(Consumer<Tag.Builder> tag)
The tag used when evaluating a metrics filter.
This is a convenience that creates an instance of theTag.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).tag - a consumer that will call methods on Tag.Buildertag(Tag)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.
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.default MetricsFilter.Builder and(Consumer<MetricsAndOperator.Builder> 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 that creates an instance of theMetricsAndOperator.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).and - a consumer that will call methods on MetricsAndOperator.Builderand(MetricsAndOperator)Copyright © 2020. All rights reserved.