Interface OrStatement.Builder

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

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

    • statements

      OrStatement.Builder statements(Collection<Statement> statements)

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

      Parameters:
      statements - The statements to combine with OR 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

      OrStatement.Builder statements(Statement... statements)

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

      Parameters:
      statements - The statements to combine with OR 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

      OrStatement.Builder statements(Consumer<Statement.Builder>... statements)

      The statements to combine with OR 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: