Interface AutomatedReasoningPolicyScenario.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyScenario.Builder,
,AutomatedReasoningPolicyScenario> SdkBuilder<AutomatedReasoningPolicyScenario.Builder,
,AutomatedReasoningPolicyScenario> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyScenario
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyScenario.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyScenario.Builder,AutomatedReasoningPolicyScenario>
-
Method Summary
Modifier and TypeMethodDescriptionalternateExpression
(String alternateExpression) An alternative way to express the same test scenario, used for validation and comparison purposes.expectedResult
(String expectedResult) The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).expectedResult
(AutomatedReasoningCheckResult expectedResult) The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).expression
(String expression) The logical expression or condition that defines this test scenario.The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.ruleIds
(Collection<String> ruleIds) The list of rule identifiers that are expected to be triggered or evaluated by this test 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
-
expression
The logical expression or condition that defines this test scenario.
- Parameters:
expression
- The logical expression or condition that defines this test scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateExpression
An alternative way to express the same test scenario, used for validation and comparison purposes.
- Parameters:
alternateExpression
- An alternative way to express the same test scenario, used for validation and comparison purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleIds
The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
- Parameters:
ruleIds
- The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleIds
The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.
- Parameters:
ruleIds
- The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedResult
The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
- Parameters:
expectedResult
- The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedResult
AutomatedReasoningPolicyScenario.Builder expectedResult(AutomatedReasoningCheckResult expectedResult) The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).
- Parameters:
expectedResult
- The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-