public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
| Modifier and Type | Method and Description |
|---|---|
Filter.Builder |
behavior(FilterBehavior behavior)
How to handle logs that satisfy the filter's conditions and requirement.
|
Filter.Builder |
behavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
|
Filter.Builder |
conditions(Collection<Condition> conditions)
Match conditions for the filter.
|
Filter.Builder |
conditions(Condition... conditions)
Match conditions for the filter.
|
Filter.Builder |
conditions(Consumer<Condition.Builder>... conditions)
Match conditions for the filter.
|
Filter.Builder |
requirement(FilterRequirement requirement)
Logic to apply to the filtering conditions.
|
Filter.Builder |
requirement(String requirement)
Logic to apply to the filtering conditions.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFilter.Builder behavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
behavior - How to handle logs that satisfy the filter's conditions and requirement.FilterBehavior,
FilterBehaviorFilter.Builder behavior(FilterBehavior behavior)
How to handle logs that satisfy the filter's conditions and requirement.
behavior - How to handle logs that satisfy the filter's conditions and requirement.FilterBehavior,
FilterBehaviorFilter.Builder requirement(String requirement)
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
requirement - Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a
log must match all conditions or must match at least one condition.FilterRequirement,
FilterRequirementFilter.Builder requirement(FilterRequirement requirement)
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
requirement - Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a
log must match all conditions or must match at least one condition.FilterRequirement,
FilterRequirementFilter.Builder conditions(Collection<Condition> conditions)
Match conditions for the filter.
conditions - Match conditions for the filter.Filter.Builder conditions(Condition... conditions)
Match conditions for the filter.
conditions - Match conditions for the filter.Filter.Builder conditions(Consumer<Condition.Builder>... conditions)
Match conditions for the filter.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #conditions(List) .conditions - a consumer that will call methods on List.Builder #conditions(List) Copyright © 2021. All rights reserved.