Interface Suite.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Suite.Builder,,Suite> SdkBuilder<Suite.Builder,,Suite> SdkPojo
- Enclosing class:
Suite
-
Method Summary
Modifier and TypeMethodDescriptionThe suite's ARN.default Suite.Buildercounters(Consumer<Counters.Builder> counters) The suite's result counters.The suite's result counters.When the suite was created.default Suite.BuilderdeviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes) Represents the total (metered or unmetered) minutes used by the test suite.deviceMinutes(DeviceMinutes deviceMinutes) Represents the total (metered or unmetered) minutes used by the test suite.A message about the suite's result.The suite's name.The suite's result.result(ExecutionResult result) The suite's result.The suite's start time.The suite's status.status(ExecutionStatus status) The suite's status.The suite's stop time.The suite's type.The suite's type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The suite's ARN.
- Parameters:
arn- The suite's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The suite's name.
- Parameters:
name- The suite's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The suite's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
- Parameters:
type- The suite's type.Must be one of the following values:
-
BUILTIN_FUZZ
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The suite's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
- Parameters:
type- The suite's type.Must be one of the following values:
-
BUILTIN_FUZZ
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
created
When the suite was created.
- Parameters:
created- When the suite was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status- The suite's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status- The suite's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result- The suite's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result- The suite's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
started
The suite's start time.
- Parameters:
started- The suite's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopped
The suite's stop time.
- Parameters:
stopped- The suite's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The suite's result counters.
- Parameters:
counters- The suite's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The suite's result counters.
This is a convenience method that creates an instance of theCounters.Builderavoiding the need to create one manually viaCounters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocounters(Counters).- Parameters:
counters- a consumer that will call methods onCounters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message about the suite's result.
- Parameters:
message- A message about the suite's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the test suite.
- Parameters:
deviceMinutes- Represents the total (metered or unmetered) minutes used by the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the test suite.
This is a convenience method that creates an instance of theDeviceMinutes.Builderavoiding the need to create one manually viaDeviceMinutes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeviceMinutes(DeviceMinutes).- Parameters:
deviceMinutes- a consumer that will call methods onDeviceMinutes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-