#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for CreateRemoteAccessSessionInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
sourcepub fn device_arn(self, input: impl Into<String>) -> Self
pub fn device_arn(self, input: impl Into<String>) -> Self
The ARN of the device for which you want to create a remote access session.
sourcepub fn set_device_arn(self, input: Option<String>) -> Self
pub fn set_device_arn(self, input: Option<String>) -> Self
The ARN of the device for which you want to create a remote access session.
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
sourcepub fn ssh_public_key(self, input: impl Into<String>) -> Self
pub fn ssh_public_key(self, input: impl Into<String>) -> Self
Ignored. The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn set_ssh_public_key(self, input: Option<String>) -> Self
pub fn set_ssh_public_key(self, input: Option<String>) -> Self
Ignored. The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn remote_debug_enabled(self, input: bool) -> Self
pub fn remote_debug_enabled(self, input: bool) -> Self
Set to true if you want to access devices remotely for debugging in your 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
Set to true if you want to access devices remotely for debugging in your 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
Set to true to enable remote recording 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
Set to true to enable remote recording 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 Amazon Resource Name (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 Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the remote access session to create.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the remote access session to create.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same clientId value in each call to CreateRemoteAccessSession. This identifier is required only if remoteDebugEnabled is set to true.
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 for the client. If you want access to multiple devices on the same client, you should pass the same clientId value in each call to CreateRemoteAccessSession. This identifier is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn configuration(
self,
input: CreateRemoteAccessSessionConfiguration
) -> Self
pub fn configuration(
self,
input: CreateRemoteAccessSessionConfiguration
) -> Self
The configuration information for the remote access session request.
sourcepub fn set_configuration(
self,
input: Option<CreateRemoteAccessSessionConfiguration>
) -> Self
pub fn set_configuration(
self,
input: Option<CreateRemoteAccessSessionConfiguration>
) -> Self
The configuration information for the remote access session request.
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 on how Device Farm modifies your uploads during tests, see Do you modify my app?
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 on how Device Farm modifies your uploads during tests, see Do you modify my app?
sourcepub fn build(self) -> Result<CreateRemoteAccessSessionInput, BuildError>
pub fn build(self) -> Result<CreateRemoteAccessSessionInput, BuildError>
Consumes the builder and constructs a CreateRemoteAccessSessionInput
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