@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Suite extends Object implements Serializable, Cloneable, StructuredPojo
Represents a collection of one or more tests.
Constructor and Description |
---|
Suite() |
Modifier and Type | Method and Description |
---|---|
Suite |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The suite's ARN.
|
Counters |
getCounters()
The suite's result counters.
|
Date |
getCreated()
When the suite was created.
|
DeviceMinutes |
getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test suite.
|
String |
getMessage()
A message about the suite's result.
|
String |
getName()
The suite's name.
|
String |
getResult()
The suite's result.
|
Date |
getStarted()
The suite's start time.
|
String |
getStatus()
The suite's status.
|
Date |
getStopped()
The suite's stop time.
|
String |
getType()
The suite's type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The suite's ARN.
|
void |
setCounters(Counters counters)
The suite's result counters.
|
void |
setCreated(Date created)
When the suite was created.
|
void |
setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
|
void |
setMessage(String message)
A message about the suite's result.
|
void |
setName(String name)
The suite's name.
|
void |
setResult(ExecutionResult result)
The suite's result.
|
void |
setResult(String result)
The suite's result.
|
void |
setStarted(Date started)
The suite's start time.
|
void |
setStatus(ExecutionStatus status)
The suite's status.
|
void |
setStatus(String status)
The suite's status.
|
void |
setStopped(Date stopped)
The suite's stop time.
|
void |
setType(String type)
The suite's type.
|
void |
setType(TestType type)
The suite's type.
|
String |
toString()
Returns a string representation of this object.
|
Suite |
withArn(String arn)
The suite's ARN.
|
Suite |
withCounters(Counters counters)
The suite's result counters.
|
Suite |
withCreated(Date created)
When the suite was created.
|
Suite |
withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
|
Suite |
withMessage(String message)
A message about the suite's result.
|
Suite |
withName(String name)
The suite's name.
|
Suite |
withResult(ExecutionResult result)
The suite's result.
|
Suite |
withResult(String result)
The suite's result.
|
Suite |
withStarted(Date started)
The suite's start time.
|
Suite |
withStatus(ExecutionStatus status)
The suite's status.
|
Suite |
withStatus(String status)
The suite's status.
|
Suite |
withStopped(Date stopped)
The suite's stop time.
|
Suite |
withType(String type)
The suite's type.
|
Suite |
withType(TestType type)
The suite's type.
|
public void setArn(String arn)
The suite's ARN.
arn
- The suite's ARN.public String getArn()
The suite's ARN.
public Suite withArn(String arn)
The suite's ARN.
arn
- The suite's ARN.public void setName(String name)
The suite's name.
name
- The suite's name.public String getName()
The suite's name.
public Suite withName(String name)
The suite's name.
name
- The suite's name.public void setType(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
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
TestType
public String getType()
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
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
TestType
public Suite withType(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
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
TestType
public void setType(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
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
TestType
public Suite withType(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
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
TestType
public void setCreated(Date created)
When the suite was created.
created
- When the suite was created.public Date getCreated()
When the suite was created.
public Suite withCreated(Date created)
When the suite was created.
created
- When the suite was created.public void setStatus(String status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public String getStatus()
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Suite withStatus(String status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setStatus(ExecutionStatus status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Suite withStatus(ExecutionStatus status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setResult(String result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public String getResult()
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Suite withResult(String result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setResult(ExecutionResult result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Suite withResult(ExecutionResult result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setStarted(Date started)
The suite's start time.
started
- The suite's start time.public Date getStarted()
The suite's start time.
public Suite withStarted(Date started)
The suite's start time.
started
- The suite's start time.public void setStopped(Date stopped)
The suite's stop time.
stopped
- The suite's stop time.public Date getStopped()
The suite's stop time.
public Suite withStopped(Date stopped)
The suite's stop time.
stopped
- The suite's stop time.public void setCounters(Counters counters)
The suite's result counters.
counters
- The suite's result counters.public Counters getCounters()
The suite's result counters.
public Suite withCounters(Counters counters)
The suite's result counters.
counters
- The suite's result counters.public void setMessage(String message)
A message about the suite's result.
message
- A message about the suite's result.public String getMessage()
A message about the suite's result.
public Suite withMessage(String message)
A message about the suite's result.
message
- A message about the suite's result.public void setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test suite.public DeviceMinutes getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test suite.
public Suite withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test suite.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.