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.
Examples found in repository?
3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetDevicePoolCompatibility,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetDevicePoolCompatibilityError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GetDevicePoolCompatibilityOutput,
aws_smithy_http::result::SdkError<crate::error::GetDevicePoolCompatibilityError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}