Interface NotStatement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotStatement.Builder,NotStatement>,SdkBuilder<NotStatement.Builder,NotStatement>,SdkPojo
- Enclosing class:
- NotStatement
public static interface NotStatement.Builder extends SdkPojo, CopyableBuilder<NotStatement.Builder,NotStatement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotStatement.Builderstatement(Consumer<Statement.Builder> statement)The statement to negate.NotStatement.Builderstatement(Statement statement)The statement to negate.-
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
-
statement
NotStatement.Builder statement(Statement statement)
The statement to negate. You can use any statement that can be nested.
- Parameters:
statement- The statement to negate. You can use any statement that can be nested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statement
default NotStatement.Builder statement(Consumer<Statement.Builder> statement)
The statement to negate. You can use any statement 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 tostatement(Statement).- Parameters:
statement- 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:
statement(Statement)
-
-