Interface AutomatedReasoningCheckScenario.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningCheckScenario.Builder,
,AutomatedReasoningCheckScenario> SdkBuilder<AutomatedReasoningCheckScenario.Builder,
,AutomatedReasoningCheckScenario> SdkPojo
- Enclosing class:
AutomatedReasoningCheckScenario
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningCheckScenario.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningCheckScenario.Builder,AutomatedReasoningCheckScenario>
-
Method Summary
Modifier and TypeMethodDescriptionstatements
(Collection<AutomatedReasoningLogicStatement> statements) List of logical assignments and statements that define this scenario.statements
(Consumer<AutomatedReasoningLogicStatement.Builder>... statements) List of logical assignments and statements that define this scenario.statements
(AutomatedReasoningLogicStatement... statements) List of logical assignments and statements that define this scenario.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 Details
-
statements
AutomatedReasoningCheckScenario.Builder statements(Collection<AutomatedReasoningLogicStatement> statements) List of logical assignments and statements that define this scenario.
- Parameters:
statements
- List of logical assignments and statements that define this scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
List of logical assignments and statements that define this scenario.
- Parameters:
statements
- List of logical assignments and statements that define this scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
AutomatedReasoningCheckScenario.Builder statements(Consumer<AutomatedReasoningLogicStatement.Builder>... statements) List of logical assignments and statements that define this scenario.
This is a convenience method that creates an instance of theAutomatedReasoningLogicStatement.Builder
avoiding the need to create one manually viaAutomatedReasoningLogicStatement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatements(List<AutomatedReasoningLogicStatement>)
.- Parameters:
statements
- a consumer that will call methods onAutomatedReasoningLogicStatement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-