@Generated(value="software.amazon.awssdk:codegen") public final class Suite extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Suite.Builder,Suite>
Represents a collection of one or more tests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Suite.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The suite's ARN.
|
static Suite.Builder |
builder() |
Counters |
counters()
The suite's result counters.
|
Instant |
created()
When the suite was created.
|
DeviceMinutes |
deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test suite.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message about the suite's result.
|
String |
name()
The suite's name.
|
ExecutionResult |
result()
The suite's result.
|
String |
resultAsString()
The suite's result.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Suite.Builder> |
serializableBuilderClass() |
Instant |
started()
The suite's start time.
|
ExecutionStatus |
status()
The suite's status.
|
String |
statusAsString()
The suite's status.
|
Instant |
stopped()
The suite's stop time.
|
Suite.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TestType |
type()
The suite's type.
|
String |
typeAsString()
The suite's type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The suite's ARN.
public final String name()
The suite's name.
public final 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
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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
TestTypepublic final String typeAsString()
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
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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
TestTypepublic final Instant created()
When the suite was created.
public final ExecutionStatus status()
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic final String statusAsString()
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic final ExecutionResult result()
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final String resultAsString()
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final Instant started()
The suite's start time.
public final Instant stopped()
The suite's stop time.
public final Counters counters()
The suite's result counters.
public final String message()
A message about the suite's result.
public final DeviceMinutes deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test suite.
public Suite.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Suite.Builder,Suite>public static Suite.Builder builder()
public static Class<? extends Suite.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2020. All rights reserved.