Interface Filter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Filter.Builder,Filter>,SdkBuilder<Filter.Builder,Filter>,SdkPojo
- Enclosing class:
- Filter
public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter.Builderbehavior(String behavior)How to handle logs that satisfy the filter's conditions and requirement.Filter.Builderbehavior(FilterBehavior behavior)How to handle logs that satisfy the filter's conditions and requirement.Filter.Builderconditions(Collection<Condition> conditions)Match conditions for the filter.Filter.Builderconditions(Consumer<Condition.Builder>... conditions)Match conditions for the filter.Filter.Builderconditions(Condition... conditions)Match conditions for the filter.Filter.Builderrequirement(String requirement)Logic to apply to the filtering conditions.Filter.Builderrequirement(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 Detail
-
behavior
Filter.Builder behavior(String 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:
FilterBehavior,FilterBehavior
-
behavior
Filter.Builder behavior(FilterBehavior 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:
FilterBehavior,FilterBehavior
-
requirement
Filter.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.
- 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:
FilterRequirement,FilterRequirement
-
requirement
Filter.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.
- 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:
FilterRequirement,FilterRequirement
-
conditions
Filter.Builder conditions(Collection<Condition> 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
Filter.Builder conditions(Condition... 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
Filter.Builder conditions(Consumer<Condition.Builder>... conditions)
Match conditions for the filter.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conditions(List.) - 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:
#conditions(java.util.Collection)
-
-