Interface AutomatedReasoningPolicyScenarios.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyScenarios.Builder,,AutomatedReasoningPolicyScenarios> SdkBuilder<AutomatedReasoningPolicyScenarios.Builder,,AutomatedReasoningPolicyScenarios> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyScenarios
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyScenarios.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyScenarios.Builder,AutomatedReasoningPolicyScenarios>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyScenarios(Collection<AutomatedReasoningPolicyScenario> policyScenarios) Represents a collection of generated policy scenarios.policyScenarios(Consumer<AutomatedReasoningPolicyScenario.Builder>... policyScenarios) Represents a collection of generated policy scenarios.policyScenarios(AutomatedReasoningPolicyScenario... policyScenarios) Represents a collection of generated policy scenarios.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
-
policyScenarios
AutomatedReasoningPolicyScenarios.Builder policyScenarios(Collection<AutomatedReasoningPolicyScenario> policyScenarios) Represents a collection of generated policy scenarios.
- Parameters:
policyScenarios- Represents a collection of generated policy scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyScenarios
AutomatedReasoningPolicyScenarios.Builder policyScenarios(AutomatedReasoningPolicyScenario... policyScenarios) Represents a collection of generated policy scenarios.
- Parameters:
policyScenarios- Represents a collection of generated policy scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyScenarios
AutomatedReasoningPolicyScenarios.Builder policyScenarios(Consumer<AutomatedReasoningPolicyScenario.Builder>... policyScenarios) Represents a collection of generated policy scenarios.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyScenario.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyScenario.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyScenarios(List<AutomatedReasoningPolicyScenario>).- Parameters:
policyScenarios- a consumer that will call methods onAutomatedReasoningPolicyScenario.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-