Interface Suite.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Suite.Builder,Suite>,SdkBuilder<Suite.Builder,Suite>,SdkPojo
- Enclosing class:
- Suite
public static interface Suite.Builder extends SdkPojo, CopyableBuilder<Suite.Builder,Suite>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Suite.Builderarn(String arn)The suite's ARN.default Suite.Buildercounters(Consumer<Counters.Builder> counters)The suite's result counters.Suite.Buildercounters(Counters counters)The suite's result counters.Suite.Buildercreated(Instant created)When the suite was created.default Suite.BuilderdeviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)Represents the total (metered or unmetered) minutes used by the test suite.Suite.BuilderdeviceMinutes(DeviceMinutes deviceMinutes)Represents the total (metered or unmetered) minutes used by the test suite.Suite.Buildermessage(String message)A message about the suite's result.Suite.Buildername(String name)The suite's name.Suite.Builderresult(String result)The suite's result.Suite.Builderresult(ExecutionResult result)The suite's result.Suite.Builderstarted(Instant started)The suite's start time.Suite.Builderstatus(String status)The suite's status.Suite.Builderstatus(ExecutionStatus status)The suite's status.Suite.Builderstopped(Instant stopped)The suite's stop time.Suite.Buildertype(String type)The suite's type.Suite.Buildertype(TestType type)The suite's type.-
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 Detail
-
arn
Suite.Builder arn(String 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
Suite.Builder name(String 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
Suite.Builder type(String type)
The suite's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
BUILTIN_EXPLORER
Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
-
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
-
CALABASH
-
INSTRUMENTATION
-
UIAUTOMATION
-
UIAUTOMATOR
-
XCTEST
-
XCTEST_UI
- Parameters:
type- The suite's type.Must be one of the following values:
-
BUILTIN_FUZZ
-
BUILTIN_EXPLORER
Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
-
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
-
CALABASH
-
INSTRUMENTATION
-
UIAUTOMATION
-
UIAUTOMATOR
-
XCTEST
-
XCTEST_UI
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType,TestType
-
-
type
Suite.Builder type(TestType type)
The suite's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
BUILTIN_EXPLORER
Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
-
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
-
CALABASH
-
INSTRUMENTATION
-
UIAUTOMATION
-
UIAUTOMATOR
-
XCTEST
-
XCTEST_UI
- Parameters:
type- The suite's type.Must be one of the following values:
-
BUILTIN_FUZZ
-
BUILTIN_EXPLORER
Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
-
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
-
CALABASH
-
INSTRUMENTATION
-
UIAUTOMATION
-
UIAUTOMATOR
-
XCTEST
-
XCTEST_UI
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType,TestType
-
-
created
Suite.Builder created(Instant 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
Suite.Builder status(String 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:
ExecutionStatus,ExecutionStatus
-
-
status
Suite.Builder status(ExecutionStatus 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:
ExecutionStatus,ExecutionStatus
-
-
result
Suite.Builder result(String 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:
ExecutionResult,ExecutionResult
-
-
result
Suite.Builder result(ExecutionResult 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:
ExecutionResult,ExecutionResult
-
-
started
Suite.Builder started(Instant 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
Suite.Builder stopped(Instant 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
Suite.Builder counters(Counters 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
default Suite.Builder counters(Consumer<Counters.Builder> 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:
counters(Counters)
-
message
Suite.Builder message(String 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
Suite.Builder deviceMinutes(DeviceMinutes 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
default Suite.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> 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:
deviceMinutes(DeviceMinutes)
-
-