Interface SearchExpression.Builder

  • Method Details

    • filters

      A list of filter objects.

      Parameters:
      filters - A list of filter objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      SearchExpression.Builder filters(Filter... filters)

      A list of filter objects.

      Parameters:
      filters - A list of filter objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      A list of filter objects.

      This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

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

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

      SearchExpression.Builder nestedFilters(Collection<NestedFilters> nestedFilters)

      A list of nested filter objects.

      Parameters:
      nestedFilters - A list of nested filter objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nestedFilters

      SearchExpression.Builder nestedFilters(NestedFilters... nestedFilters)

      A list of nested filter objects.

      Parameters:
      nestedFilters - A list of nested filter objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nestedFilters

      SearchExpression.Builder nestedFilters(Consumer<NestedFilters.Builder>... nestedFilters)

      A list of nested filter objects.

      This is a convenience method that creates an instance of the NestedFilters.Builder avoiding the need to create one manually via NestedFilters.builder().

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

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

      SearchExpression.Builder subExpressions(Collection<SearchExpression> subExpressions)

      A list of search expression objects.

      Parameters:
      subExpressions - A list of search expression objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subExpressions

      SearchExpression.Builder subExpressions(SearchExpression... subExpressions)

      A list of search expression objects.

      Parameters:
      subExpressions - A list of search expression objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subExpressions

      SearchExpression.Builder subExpressions(Consumer<SearchExpression.Builder>... subExpressions)

      A list of search expression objects.

      This is a convenience method that creates an instance of the SearchExpression.Builder avoiding the need to create one manually via SearchExpression.builder().

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

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

      SearchExpression.Builder operator(String operator)

      A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

      Parameters:
      operator - A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operator

      A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

      Parameters:
      operator - A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: