Struct aws_sdk_devicefarm::model::suite::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Suite.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: TestType) -> Self
pub fn type(self, input: TestType) -> Self
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
sourcepub fn set_type(self, input: Option<TestType>) -> Self
pub fn set_type(self, input: Option<TestType>) -> Self
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
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
When the suite was created.
sourcepub fn status(self, input: ExecutionStatus) -> Self
pub fn status(self, input: ExecutionStatus) -> Self
The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
sourcepub fn set_status(self, input: Option<ExecutionStatus>) -> Self
pub fn set_status(self, input: Option<ExecutionStatus>) -> Self
The suite's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
sourcepub fn result(self, input: ExecutionResult) -> Self
pub fn result(self, input: ExecutionResult) -> Self
The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
sourcepub fn set_result(self, input: Option<ExecutionResult>) -> Self
pub fn set_result(self, input: Option<ExecutionResult>) -> Self
The suite's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
sourcepub fn set_started(self, input: Option<DateTime>) -> Self
pub fn set_started(self, input: Option<DateTime>) -> Self
The suite's start time.
sourcepub fn set_stopped(self, input: Option<DateTime>) -> Self
pub fn set_stopped(self, input: Option<DateTime>) -> Self
The suite's stop time.
sourcepub fn set_counters(self, input: Option<Counters>) -> Self
pub fn set_counters(self, input: Option<Counters>) -> Self
The suite's result counters.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message about the suite's result.
sourcepub fn device_minutes(self, input: DeviceMinutes) -> Self
pub fn device_minutes(self, input: DeviceMinutes) -> Self
Represents the total (metered or unmetered) minutes used by the test suite.
sourcepub fn set_device_minutes(self, input: Option<DeviceMinutes>) -> Self
pub fn set_device_minutes(self, input: Option<DeviceMinutes>) -> Self
Represents the total (metered or unmetered) minutes used by the test suite.