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.Builder
statement
(Consumer<Statement.Builder> statement) The statement to negate.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, 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.Builder
avoiding the need to create one manually viaStatement.builder()
.When the
Consumer
completes,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:
-