Interface OrStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrStatement.Builder,,OrStatement> SdkBuilder<OrStatement.Builder,,OrStatement> SdkPojo
- Enclosing class:
OrStatement
@Mutable
@NotThreadSafe
public static interface OrStatement.Builder
extends SdkPojo, CopyableBuilder<OrStatement.Builder,OrStatement>
-
Method Summary
Modifier and TypeMethodDescriptionstatements(Collection<Statement> statements) The statements to combine with OR logic.statements(Consumer<Statement.Builder>... statements) The statements to combine with OR logic.statements(Statement... statements) The statements to combine with OR logic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 theStatement.Builderavoiding the need to create one manually viaStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatements(List<Statement>).- Parameters:
statements- a consumer that will call methods onStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-