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 Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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 the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<Condition>).

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