Interface AutomatedReasoningPolicyTestResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyTestResult.Builder,
,AutomatedReasoningPolicyTestResult> SdkBuilder<AutomatedReasoningPolicyTestResult.Builder,
,AutomatedReasoningPolicyTestResult> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyTestResult
-
Method Summary
Modifier and TypeMethodDescriptionaggregatedTestFindingsResult
(String aggregatedTestFindingsResult) A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.aggregatedTestFindingsResult
(AutomatedReasoningCheckResult aggregatedTestFindingsResult) A summary of all test findings, aggregated to provide an overall assessment of policy quality and correctness.The Amazon Resource Name (ARN) of the Automated Reasoning policy that was tested.Sets the value of the TestCase property for this object.testCase
(AutomatedReasoningPolicyTestCase testCase) Sets the value of the TestCase property for this object.testFindings
(Collection<AutomatedReasoningCheckFinding> testFindings) Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.testFindings
(Consumer<AutomatedReasoningCheckFinding.Builder>... testFindings) Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.testFindings
(AutomatedReasoningCheckFinding... testFindings) Detailed findings from the test run, including any issues, violations, or unexpected behaviors discovered.testRunResult
(String testRunResult) The overall result of the test run, indicating whether the policy passed or failed validation.testRunResult
(AutomatedReasoningPolicyTestRunResult testRunResult) The overall result of the test run, indicating whether the policy passed or failed validation.testRunStatus
(String testRunStatus) The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).testRunStatus
(AutomatedReasoningPolicyTestRunStatus testRunStatus) The overall status of the test run (e.g., COMPLETED, FAILED, IN_PROGRESS).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 Details
-
testCase
Sets the value of the TestCase property for this object.- Parameters:
testCase
- The new value for the TestCase property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCase
default AutomatedReasoningPolicyTestResult.Builder testCase(Consumer<AutomatedReasoningPolicyTestCase.Builder> testCase) Sets the value of the TestCase property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyTestCase.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyTestCase.builder()
.When the
Consumer
completes,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:
-
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
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:
-
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:
-
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.Builder
avoiding the need to create one manually viaAutomatedReasoningCheckFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestFindings(List<AutomatedReasoningCheckFinding>)
.- 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:
-
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:
-
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:
-
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:
-
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:
-
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.
-