Interface TestCaseRun.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestCaseRun.Builder,
,TestCaseRun> SdkBuilder<TestCaseRun.Builder,
,TestCaseRun> SdkPojo
- Enclosing class:
TestCaseRun
-
Method Summary
Modifier 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
testCaseRunId
Provides 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.
-
testCaseDefinitionId
Provides 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.
-
testCaseDefinitionName
Provides 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.
-
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. -
STOPPED
Test 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. -
STOPPED
Test 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:
-
-
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. -
STOPPED
Test 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. -
STOPPED
Test 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:
-
-
startTime
Provides 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.
-
endTime
Provides 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.
-
logUrl
Provides 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.
-
warnings
Provides 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.
-
failure
Provides 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.
-
testScenarios
Provides 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.
-
testScenarios
Provides 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.
-
testScenarios
Provides the test scenarios for the test case run.
This is a convenience method that creates an instance of theTestCaseScenario.Builder
avoiding the need to create one manually viaTestCaseScenario.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestScenarios(List<TestCaseScenario>)
.- Parameters:
testScenarios
- a consumer that will call methods onTestCaseScenario.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-