#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for GetDevicePoolCompatibilityInput
Implementations
sourceimpl 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
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more