Struct aws_sdk_devicefarm::model::remote_access_session::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for RemoteAccessSession
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the remote access session.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the remote access session.
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
The date and time the remote access session was created.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The date and time the remote access session was created.
sourcepub fn status(self, input: ExecutionStatus) -> Self
pub fn status(self, input: ExecutionStatus) -> Self
The status of the remote access session. Can be any of the following:
-
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 status of the remote access session. Can be any of the following:
-
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 result of the remote access session. Can be any of the following:
-
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 result of the remote access session. Can be any of the following:
-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message about the remote access session.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message about the remote access session.
sourcepub fn started(self, input: DateTime) -> Self
pub fn started(self, input: DateTime) -> Self
The date and time the remote access session was started.
sourcepub fn set_started(self, input: Option<DateTime>) -> Self
pub fn set_started(self, input: Option<DateTime>) -> Self
The date and time the remote access session was started.
sourcepub fn stopped(self, input: DateTime) -> Self
pub fn stopped(self, input: DateTime) -> Self
The date and time the remote access session was stopped.
sourcepub fn set_stopped(self, input: Option<DateTime>) -> Self
pub fn set_stopped(self, input: Option<DateTime>) -> Self
The date and time the remote access session was stopped.
sourcepub fn device(self, input: Device) -> Self
pub fn device(self, input: Device) -> Self
The device (phone or tablet) used in the remote access session.
sourcepub fn set_device(self, input: Option<Device>) -> Self
pub fn set_device(self, input: Option<Device>) -> Self
The device (phone or tablet) used in the remote access session.
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the instance.
sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the instance.
sourcepub fn remote_debug_enabled(self, input: bool) -> Self
pub fn remote_debug_enabled(self, input: bool) -> Self
This flag is set to true if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn set_remote_debug_enabled(self, input: Option<bool>) -> Self
pub fn set_remote_debug_enabled(self, input: Option<bool>) -> Self
This flag is set to true if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn remote_record_enabled(self, input: bool) -> Self
pub fn remote_record_enabled(self, input: bool) -> Self
This flag is set to true if remote recording is enabled for the remote access session.
sourcepub fn set_remote_record_enabled(self, input: Option<bool>) -> Self
pub fn set_remote_record_enabled(self, input: Option<bool>) -> Self
This flag is set to true if remote recording is enabled for the remote access session.
sourcepub fn remote_record_app_arn(self, input: impl Into<String>) -> Self
pub fn remote_record_app_arn(self, input: impl Into<String>) -> Self
The ARN for the app to be recorded in the remote access session.
sourcepub fn set_remote_record_app_arn(self, input: Option<String>) -> Self
pub fn set_remote_record_app_arn(self, input: Option<String>) -> Self
The ARN for the app to be recorded in the remote access session.
sourcepub fn host_address(self, input: impl Into<String>) -> Self
pub fn host_address(self, input: impl Into<String>) -> Self
IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn set_host_address(self, input: Option<String>) -> Self
pub fn set_host_address(self, input: Option<String>) -> Self
IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn billing_method(self, input: BillingMethod) -> Self
pub fn billing_method(self, input: BillingMethod) -> Self
The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology.
sourcepub fn set_billing_method(self, input: Option<BillingMethod>) -> Self
pub fn set_billing_method(self, input: Option<BillingMethod>) -> Self
The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology.
sourcepub fn device_minutes(self, input: DeviceMinutes) -> Self
pub fn device_minutes(self, input: DeviceMinutes) -> Self
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
sourcepub fn set_device_minutes(self, input: Option<DeviceMinutes>) -> Self
pub fn set_device_minutes(self, input: Option<DeviceMinutes>) -> Self
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The endpoint for the remote access sesssion.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint for the remote access sesssion.
sourcepub fn device_udid(self, input: impl Into<String>) -> Self
pub fn device_udid(self, input: impl Into<String>) -> Self
Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn set_device_udid(self, input: Option<String>) -> Self
pub fn set_device_udid(self, input: Option<String>) -> Self
Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
sourcepub fn interaction_mode(self, input: InteractionMode) -> Self
pub fn interaction_mode(self, input: InteractionMode) -> Self
The interaction mode of the remote access session. Valid values are:
-
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
-
NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
-
VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
sourcepub fn set_interaction_mode(self, input: Option<InteractionMode>) -> Self
pub fn set_interaction_mode(self, input: Option<InteractionMode>) -> Self
The interaction mode of the remote access session. Valid values are:
-
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
-
NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
-
VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
sourcepub fn skip_app_resign(self, input: bool) -> Self
pub fn skip_app_resign(self, input: bool) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn set_skip_app_resign(self, input: Option<bool>) -> Self
pub fn set_skip_app_resign(self, input: Option<bool>) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn build(self) -> RemoteAccessSession
pub fn build(self) -> RemoteAccessSession
Consumes the builder and constructs a RemoteAccessSession
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 · sourcefn borrow_mut(&mut self) -> &mut T
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> 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