Interface TestCaseRun.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<TestCaseRun.Builder,,- TestCaseRun> - SdkBuilder<TestCaseRun.Builder,,- TestCaseRun> - SdkPojo
- Enclosing class:
- TestCaseRun
- 
Method SummaryModifier and TypeMethodDescriptionProvides test case run end time.Provides test case run failure result.Provides test case run log URL.Provides test case run start time.Provides the test case run status.Provides the test case run status.testCaseDefinitionId(String testCaseDefinitionId) Provides the test case run definition ID.testCaseDefinitionName(String testCaseDefinitionName) Provides the test case run definition name.testCaseRunId(String testCaseRunId) Provides the test case run ID.testScenarios(Collection<TestCaseScenario> testScenarios) Provides the test scenarios for the test case run.testScenarios(Consumer<TestCaseScenario.Builder>... testScenarios) Provides the test scenarios for the test case run.testScenarios(TestCaseScenario... testScenarios) Provides the test scenarios for the test case run.Provides test case run warnings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
testCaseRunIdProvides the test case run ID. - Parameters:
- testCaseRunId- Provides the test case run ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testCaseDefinitionIdProvides the test case run definition ID. - Parameters:
- testCaseDefinitionId- Provides the test case run definition ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testCaseDefinitionNameProvides the test case run definition name. - Parameters:
- testCaseDefinitionName- Provides the test case run definition name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusProvides the test case run status. Status is one of the following: - 
 PASS: Test passed.
- 
 FAIL: Test failed.
- 
 PENDING: Test has not started running but is scheduled.
- 
 RUNNING: Test is running.
- 
 STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
- 
 STOPPEDTest is stopped. You will see this status only if you stop a suite run.
- 
 PASS_WITH_WARNINGS: Test passed with warnings.
- 
 ERORR: Test faced an error when running due to an internal issue.
 - Parameters:
- status- Provides the test case run status. Status is one of the following:- 
        PASS: Test passed.
- 
        FAIL: Test failed.
- 
        PENDING: Test has not started running but is scheduled.
- 
        RUNNING: Test is running.
- 
        STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
- 
        STOPPEDTest is stopped. You will see this status only if you stop a suite run.
- 
        PASS_WITH_WARNINGS: Test passed with warnings.
- 
        ERORR: Test faced an error when running due to an internal issue.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
statusProvides the test case run status. Status is one of the following: - 
 PASS: Test passed.
- 
 FAIL: Test failed.
- 
 PENDING: Test has not started running but is scheduled.
- 
 RUNNING: Test is running.
- 
 STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
- 
 STOPPEDTest is stopped. You will see this status only if you stop a suite run.
- 
 PASS_WITH_WARNINGS: Test passed with warnings.
- 
 ERORR: Test faced an error when running due to an internal issue.
 - Parameters:
- status- Provides the test case run status. Status is one of the following:- 
        PASS: Test passed.
- 
        FAIL: Test failed.
- 
        PENDING: Test has not started running but is scheduled.
- 
        RUNNING: Test is running.
- 
        STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
- 
        STOPPEDTest is stopped. You will see this status only if you stop a suite run.
- 
        PASS_WITH_WARNINGS: Test passed with warnings.
- 
        ERORR: Test faced an error when running due to an internal issue.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
startTimeProvides test case run start time. - Parameters:
- startTime- Provides test case run start time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endTimeProvides test case run end time. - Parameters:
- endTime- Provides test case run end time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
logUrlProvides test case run log URL. - Parameters:
- logUrl- Provides test case run log URL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
warningsProvides test case run warnings. - Parameters:
- warnings- Provides test case run warnings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failureProvides test case run failure result. - Parameters:
- failure- Provides test case run failure result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testScenariosProvides the test scenarios for the test case run. - Parameters:
- testScenarios- Provides the test scenarios for the test case run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testScenariosProvides the test scenarios for the test case run. - Parameters:
- testScenarios- Provides the test scenarios for the test case run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
testScenariosProvides the test scenarios for the test case run. This is a convenience method that creates an instance of theTestCaseScenario.Builderavoiding the need to create one manually viaTestCaseScenario.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestScenarios(List<TestCaseScenario>).- Parameters:
- testScenarios- a consumer that will call methods on- TestCaseScenario.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-