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 Summary
Modifier and TypeMethodDescriptionstatements
(Collection<Statement> statements) The statements to combine with AND logic.statements
(Consumer<Statement.Builder>... statements) The statements to combine with AND logic.statements
(Statement... statements) The statements to combine with AND logic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theStatement.Builder
avoiding the need to create one manually viaStatement.builder()
.When the
Consumer
completes,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:
-