Interface AndStatement.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AndStatement.Builder,AndStatement>, SdkBuilder<AndStatement.Builder,AndStatement>, SdkPojo
Enclosing class:
AndStatement

public static interface AndStatement.Builder extends SdkPojo, CopyableBuilder<AndStatement.Builder,AndStatement>
  • Method Details

    • 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<Statement>).

      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: