pub struct Builder { /* private fields */ }Expand description
A builder for GetDevicePoolCompatibilityInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn device_pool_arn(self, input: impl Into<String>) -> Self
pub fn device_pool_arn(self, input: impl Into<String>) -> Self
The device pool's ARN.
sourcepub fn set_device_pool_arn(self, input: Option<String>) -> Self
pub fn set_device_pool_arn(self, input: Option<String>) -> Self
The device pool's ARN.
sourcepub fn app_arn(self, input: impl Into<String>) -> Self
pub fn app_arn(self, input: impl Into<String>) -> Self
The ARN of the app that is associated with the specified device pool.
sourcepub fn set_app_arn(self, input: Option<String>) -> Self
pub fn set_app_arn(self, input: Option<String>) -> Self
The ARN of the app that is associated with the specified device pool.
sourcepub fn test_type(self, input: TestType) -> Self
pub fn test_type(self, input: TestType) -> Self
The test type for the specified device pool.
Allowed values include the following:
-
BUILTIN_FUZZ.
-
BUILTIN_EXPLORER. 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_test_type(self, input: Option<TestType>) -> Self
pub fn set_test_type(self, input: Option<TestType>) -> Self
The test type for the specified device pool.
Allowed values include the following:
-
BUILTIN_FUZZ.
-
BUILTIN_EXPLORER. 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 test(self, input: ScheduleRunTest) -> Self
pub fn test(self, input: ScheduleRunTest) -> Self
Information about the uploaded test to be run against the device pool.
sourcepub fn set_test(self, input: Option<ScheduleRunTest>) -> Self
pub fn set_test(self, input: Option<ScheduleRunTest>) -> Self
Information about the uploaded test to be run against the device pool.
sourcepub fn configuration(self, input: ScheduleRunConfiguration) -> Self
pub fn configuration(self, input: ScheduleRunConfiguration) -> Self
An object that contains information about the settings for a run.
sourcepub fn set_configuration(self, input: Option<ScheduleRunConfiguration>) -> Self
pub fn set_configuration(self, input: Option<ScheduleRunConfiguration>) -> Self
An object that contains information about the settings for a run.
sourcepub fn build(self) -> Result<GetDevicePoolCompatibilityInput, BuildError>
pub fn build(self) -> Result<GetDevicePoolCompatibilityInput, BuildError>
Consumes the builder and constructs a GetDevicePoolCompatibilityInput.