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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyScenario.BuilderalternateExpression(String alternateExpression)An alternative way to express the same test scenario, used for validation and comparison purposes.AutomatedReasoningPolicyScenario.BuilderexpectedResult(String expectedResult)The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).AutomatedReasoningPolicyScenario.BuilderexpectedResult(AutomatedReasoningCheckResult expectedResult)The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).AutomatedReasoningPolicyScenario.Builderexpression(String expression)The logical expression or condition that defines this test scenario.AutomatedReasoningPolicyScenario.BuilderruleIds(String... ruleIds)The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.AutomatedReasoningPolicyScenario.BuilderruleIds(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 Detail
-
expression
AutomatedReasoningPolicyScenario.Builder expression(String 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
AutomatedReasoningPolicyScenario.Builder alternateExpression(String 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
AutomatedReasoningPolicyScenario.Builder ruleIds(Collection<String> 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
AutomatedReasoningPolicyScenario.Builder ruleIds(String... 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
AutomatedReasoningPolicyScenario.Builder expectedResult(String 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:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
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:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
-