Class Suite
- java.lang.Object
-
- software.amazon.awssdk.services.devicefarm.model.Suite
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Suite.Builder,Suite>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuite.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The suite's ARN.static Suite.Builderbuilder()Counterscounters()The suite's result counters.Instantcreated()When the suite was created.DeviceMinutesdeviceMinutes()Represents the total (metered or unmetered) minutes used by the test suite.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message about the suite's result.Stringname()The suite's name.ExecutionResultresult()The suite's result.StringresultAsString()The suite's result.List<SdkField<?>>sdkFields()static Class<? extends Suite.Builder>serializableBuilderClass()Instantstarted()The suite's start time.ExecutionStatusstatus()The suite's status.StringstatusAsString()The suite's status.Instantstopped()The suite's stop time.Suite.BuildertoBuilder()StringtoString()Returns a string representation of this object.TestTypetype()The suite's type.StringtypeAsString()The suite's type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The suite's ARN.
- Returns:
- The suite's ARN.
-
name
public final String name()
The suite's name.
- Returns:
- The suite's name.
-
type
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,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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
-
- See Also:
TestType
-
-
typeAsString
public 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,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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
-
- See Also:
TestType
-
-
created
public final Instant created()
When the suite was created.
- Returns:
- When the suite was created.
-
status
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
ExecutionStatus
-
-
statusAsString
public 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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
ExecutionStatus
-
-
result
public 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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
ExecutionResult
-
-
resultAsString
public 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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
ExecutionResult
-
-
started
public final Instant started()
The suite's start time.
- Returns:
- The suite's start time.
-
stopped
public final Instant stopped()
The suite's stop time.
- Returns:
- The suite's stop time.
-
counters
public final Counters counters()
The suite's result counters.
- Returns:
- The suite's result counters.
-
message
public final String message()
A message about the suite's result.
- Returns:
- A message about the suite's result.
-
deviceMinutes
public final DeviceMinutes deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test suite.
- Returns:
- Represents the total (metered or unmetered) minutes used by the test suite.
-
toBuilder
public Suite.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Suite.Builder,Suite>
-
builder
public static Suite.Builder builder()
-
serializableBuilderClass
public static Class<? extends Suite.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-