Interface Test.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Test.Builder,Test>,SdkBuilder<Test.Builder,Test>,SdkPojo
- Enclosing class:
- Test
public static interface Test.Builder extends SdkPojo, CopyableBuilder<Test.Builder,Test>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Test.Builderarn(String arn)The test's ARN.default Test.Buildercounters(Consumer<Counters.Builder> counters)The test's result counters.Test.Buildercounters(Counters counters)The test's result counters.Test.Buildercreated(Instant created)When the test was created.default Test.BuilderdeviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)Represents the total (metered or unmetered) minutes used by the test.Test.BuilderdeviceMinutes(DeviceMinutes deviceMinutes)Represents the total (metered or unmetered) minutes used by the test.Test.Buildermessage(String message)A message about the test's result.Test.Buildername(String name)The test's name.Test.Builderresult(String result)The test's result.Test.Builderresult(ExecutionResult result)The test's result.Test.Builderstarted(Instant started)The test's start time.Test.Builderstatus(String status)The test's status.Test.Builderstatus(ExecutionStatus status)The test's status.Test.Builderstopped(Instant stopped)The test's stop time.Test.Buildertype(String type)The test's type.Test.Buildertype(TestType type)The test'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
Test.Builder arn(String arn)
The test's ARN.
- Parameters:
arn- The test's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Test.Builder name(String name)
The test's name.
- Parameters:
name- The test's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Test.Builder type(String type)
The test'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 test'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:
TestType,TestType
-
-
type
Test.Builder type(TestType type)
The test'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 test'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:
TestType,TestType
-
-
created
Test.Builder created(Instant created)
When the test was created.
- Parameters:
created- When the test was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Test.Builder status(String status)
The test's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status- The test'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
Test.Builder status(ExecutionStatus status)
The test's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status- The test'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
Test.Builder result(String result)
The test's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result- The test'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
Test.Builder result(ExecutionResult result)
The test's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result- The test'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
Test.Builder started(Instant started)
The test's start time.
- Parameters:
started- The test's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopped
Test.Builder stopped(Instant stopped)
The test's stop time.
- Parameters:
stopped- The test's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
Test.Builder counters(Counters counters)
The test's result counters.
- Parameters:
counters- The test's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
default Test.Builder counters(Consumer<Counters.Builder> counters)
The test'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
Test.Builder message(String message)
A message about the test's result.
- Parameters:
message- A message about the test's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Test.Builder deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
- Parameters:
deviceMinutes- Represents the total (metered or unmetered) minutes used by the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
default Test.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
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)
-
-