Interface AndStatement.Builder

    • Method Detail

      • statements

        AndStatement.Builder statements​(Collection<Statement> statements)

        The statements to combine with AND logic. You can use any statements that can be nested.

        Parameters:
        statements - The statements to combine with AND logic. You can use any statements that can be nested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statements

        AndStatement.Builder statements​(Statement... statements)

        The statements to combine with AND logic. You can use any statements that can be nested.

        Parameters:
        statements - The statements to combine with AND logic. You can use any statements that can be nested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statements

        AndStatement.Builder statements​(Consumer<Statement.Builder>... statements)

        The statements to combine with AND logic. You can use any statements that can be nested.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #statements(List).

        Parameters:
        statements - a consumer that will call methods on Statement.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #statements(java.util.Collection)