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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AndStatement.Builderstatements(Collection<Statement> statements)The statements to combine with AND logic.AndStatement.Builderstatements(Consumer<Statement.Builder>... statements)The statements to combine with AND logic.AndStatement.Builderstatements(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 theStatement.Builderavoiding the need to create one manually viaStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statements(List.) - 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:
#statements(java.util.Collection)
-
-