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

    • condition

      Filter.Builder condition(Condition condition)

      The condition accepts before or after a specified time, equal to a string, or equal to an integer.

      Parameters:
      condition - The condition accepts before or after a specified time, equal to a string, or equal to an integer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      default Filter.Builder condition(Consumer<Condition.Builder> condition)

      The condition accepts before or after a specified time, equal to a string, or equal to an integer.

      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 condition(Condition).

      Parameters:
      condition - 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:
    • key

      The key that you're filtering on.

      Parameters:
      key - The key that you're filtering on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.