Interface AndStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AndStatement.Builder,,AndStatement> SdkBuilder<AndStatement.Builder,,AndStatement> SdkPojo
- Enclosing class:
AndStatement
@Mutable
@NotThreadSafe
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
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 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.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:
-