Interface AutomatedReasoningPolicyTestResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyTestResult.Builder,AutomatedReasoningPolicyTestResult>,SdkBuilder<AutomatedReasoningPolicyTestResult.Builder,AutomatedReasoningPolicyTestResult>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyTestResult
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyTestResult.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyTestResult.Builder,AutomatedReasoningPolicyTestResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutomatedReasoningPolicyTestResult.BuilderaggregatedTestFindingsResult(String aggregatedTestFindingsResult)A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.AutomatedReasoningPolicyTestResult.BuilderaggregatedTestFindingsResult(AutomatedReasoningCheckResult aggregatedTestFindingsResult)A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.AutomatedReasoningPolicyTestResult.BuilderpolicyArn(String policyArn)The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.default AutomatedReasoningPolicyTestResult.BuildertestCase(Consumer<AutomatedReasoningPolicyTestCase.Builder> testCase)The test case that was executed, including the input content, expected results, and configuration parameters used during validation.AutomatedReasoningPolicyTestResult.BuildertestCase(AutomatedReasoningPolicyTestCase testCase)The test case that was executed, including the input content, expected results, and configuration parameters used during validation.AutomatedReasoningPolicyTestResult.BuildertestFindings(Collection<AutomatedReasoningCheckFinding> testFindings)Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.AutomatedReasoningPolicyTestResult.BuildertestFindings(Consumer<AutomatedReasoningCheckFinding.Builder>... testFindings)Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.AutomatedReasoningPolicyTestResult.BuildertestFindings(AutomatedReasoningCheckFinding... testFindings)Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.AutomatedReasoningPolicyTestResult.BuildertestRunResult(String testRunResult)The overall result of the test run, indicating whether the policy passed or failed validation.AutomatedReasoningPolicyTestResult.BuildertestRunResult(AutomatedReasoningPolicyTestRunResult testRunResult)The overall result of the test run, indicating whether the policy passed or failed validation.AutomatedReasoningPolicyTestResult.BuildertestRunStatus(String testRunStatus)The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).AutomatedReasoningPolicyTestResult.BuildertestRunStatus(AutomatedReasoningPolicyTestRunStatus testRunStatus)The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).AutomatedReasoningPolicyTestResult.BuilderupdatedAt(Instant updatedAt)The timestamp when the test results were last updated.-
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
-
testCase
AutomatedReasoningPolicyTestResult.Builder testCase(AutomatedReasoningPolicyTestCase testCase)
The test case that was executed, including the input content, expected results, and configuration parameters used during validation.
- Parameters:
testCase- The test case that was executed, including the input content, expected results, and configuration parameters used during validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCase
default AutomatedReasoningPolicyTestResult.Builder testCase(Consumer<AutomatedReasoningPolicyTestCase.Builder> testCase)
The test case that was executed, including the input content, expected results, and configuration parameters used during validation.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyTestCase.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyTestCase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestCase(AutomatedReasoningPolicyTestCase).- Parameters:
testCase- a consumer that will call methods onAutomatedReasoningPolicyTestCase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
testCase(AutomatedReasoningPolicyTestCase)
-
policyArn
AutomatedReasoningPolicyTestResult.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRunStatus
AutomatedReasoningPolicyTestResult.Builder testRunStatus(String testRunStatus)
The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).
- Parameters:
testRunStatus- The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningPolicyTestRunStatus,AutomatedReasoningPolicyTestRunStatus
-
testRunStatus
AutomatedReasoningPolicyTestResult.Builder testRunStatus(AutomatedReasoningPolicyTestRunStatus testRunStatus)
The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).
- Parameters:
testRunStatus- The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningPolicyTestRunStatus,AutomatedReasoningPolicyTestRunStatus
-
testFindings
AutomatedReasoningPolicyTestResult.Builder testFindings(Collection<AutomatedReasoningCheckFinding> testFindings)
Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.
- Parameters:
testFindings- Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testFindings
AutomatedReasoningPolicyTestResult.Builder testFindings(AutomatedReasoningCheckFinding... testFindings)
Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.
- Parameters:
testFindings- Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testFindings
AutomatedReasoningPolicyTestResult.Builder testFindings(Consumer<AutomatedReasoningCheckFinding.Builder>... testFindings)
Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.
This is a convenience method that creates an instance of theAutomatedReasoningCheckFinding.Builderavoiding the need to create one manually viaAutomatedReasoningCheckFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#testFindings(List.) - Parameters:
testFindings- a consumer that will call methods onAutomatedReasoningCheckFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#testFindings(java.util.Collection)
-
testRunResult
AutomatedReasoningPolicyTestResult.Builder testRunResult(String testRunResult)
The overall result of the test run, indicating whether the policy passed or failed validation.
- Parameters:
testRunResult- The overall result of the test run, indicating whether the policy passed or failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningPolicyTestRunResult,AutomatedReasoningPolicyTestRunResult
-
testRunResult
AutomatedReasoningPolicyTestResult.Builder testRunResult(AutomatedReasoningPolicyTestRunResult testRunResult)
The overall result of the test run, indicating whether the policy passed or failed validation.
- Parameters:
testRunResult- The overall result of the test run, indicating whether the policy passed or failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningPolicyTestRunResult,AutomatedReasoningPolicyTestRunResult
-
aggregatedTestFindingsResult
AutomatedReasoningPolicyTestResult.Builder aggregatedTestFindingsResult(String aggregatedTestFindingsResult)
A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.
- Parameters:
aggregatedTestFindingsResult- A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
aggregatedTestFindingsResult
AutomatedReasoningPolicyTestResult.Builder aggregatedTestFindingsResult(AutomatedReasoningCheckResult aggregatedTestFindingsResult)
A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.
- Parameters:
aggregatedTestFindingsResult- A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
updatedAt
AutomatedReasoningPolicyTestResult.Builder updatedAt(Instant updatedAt)
The timestamp when the test results were last updated.
- Parameters:
updatedAt- The timestamp when the test results were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-