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
Modifier and TypeMethodDescriptiondefault NotStatement.Builderstatement(Consumer<Statement.Builder> statement) The statement to negate.The statement to negate.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
-
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
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:
-