Interface Filter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Filter.Builder,
,Filter> SdkBuilder<Filter.Builder,
,Filter> SdkPojo
- Enclosing class:
Filter
-
Method Summary
Modifier and TypeMethodDescriptionHow to handle logs that satisfy the filter's conditions and requirement.behavior
(FilterBehavior behavior) How to handle logs that satisfy the filter's conditions and requirement.conditions
(Collection<Condition> conditions) Match conditions for the filter.conditions
(Consumer<Condition.Builder>... conditions) Match conditions for the filter.conditions
(Condition... conditions) Match conditions for the filter.requirement
(String requirement) Logic to apply to the filtering conditions.requirement
(FilterRequirement requirement) Logic to apply to the filtering conditions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
behavior
How to handle logs that satisfy the filter's conditions and requirement.
- Parameters:
behavior
- How to handle logs that satisfy the filter's conditions and requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
behavior
How to handle logs that satisfy the filter's conditions and requirement.
- Parameters:
behavior
- How to handle logs that satisfy the filter's conditions and requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
Match conditions for the filter.
- Parameters:
conditions
- Match conditions for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Match conditions for the filter.
- Parameters:
conditions
- Match conditions for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
Match conditions for the filter.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<Condition>)
.- Parameters:
conditions
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-