Interface RemoteAccessSession.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RemoteAccessSession.Builder,
,RemoteAccessSession> SdkBuilder<RemoteAccessSession.Builder,
,RemoteAccessSession> SdkPojo
- Enclosing class:
RemoteAccessSession
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the remote access session.billingMethod
(String billingMethod) The billing method of the remote access session.billingMethod
(BillingMethod billingMethod) The billing method of the remote access session.Unique identifier of your client for the remote access session.The date and time the remote access session was created.default RemoteAccessSession.Builder
device
(Consumer<Device.Builder> device) The device (phone or tablet) used in the remote access session.The device (phone or tablet) used in the remote access session.default RemoteAccessSession.Builder
deviceMinutes
(Consumer<DeviceMinutes.Builder> deviceMinutes) The number of minutes a device is used in a remote access session (including setup and teardown minutes).deviceMinutes
(DeviceMinutes deviceMinutes) The number of minutes a device is used in a remote access session (including setup and teardown minutes).deviceUdid
(String deviceUdid) Unique device identifier for the remote device.The endpoint for the remote access sesssion.hostAddress
(String hostAddress) IP address of the EC2 host where you need to connect to remotely debug devices.instanceArn
(String instanceArn) The ARN of the instance.interactionMode
(String interactionMode) The interaction mode of the remote access session.interactionMode
(InteractionMode interactionMode) The interaction mode of the remote access session.A message about the remote access session.The name of the remote access session.remoteDebugEnabled
(Boolean remoteDebugEnabled) This flag is set totrue
if remote debugging is enabled for the remote access session.remoteRecordAppArn
(String remoteRecordAppArn) The ARN for the app to be recorded in the remote access session.remoteRecordEnabled
(Boolean remoteRecordEnabled) This flag is set totrue
if remote recording is enabled for the remote access session.The result of the remote access session.result
(ExecutionResult result) The result of the remote access session.skipAppResign
(Boolean skipAppResign) When set totrue
, for private devices, Device Farm does not sign your app again.The date and time the remote access session was started.The status of the remote access session.status
(ExecutionStatus status) The status of the remote access session.The date and time the remote access session was stopped.default RemoteAccessSession.Builder
vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) The VPC security groups and subnets that are attached to a project.The VPC security groups and subnets that are attached to a project.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the remote access session.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the remote access session.
- Parameters:
name
- The name of the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
The date and time the remote access session was created.
- Parameters:
created
- The date and time the remote access session was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the remote access session. Can be any of the following:
-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
- Parameters:
status
- The status of the remote access session. Can be any of the following:-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the remote access session. Can be any of the following:
-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
- Parameters:
status
- The status of the remote access session. Can be any of the following:-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The result of the remote access session. Can be any of the following:
-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
- Parameters:
result
- The result of the remote access session. Can be any of the following:-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The result of the remote access session. Can be any of the following:
-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
- Parameters:
result
- The result of the remote access session. Can be any of the following:-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
A message about the remote access session.
- Parameters:
message
- A message about the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
started
The date and time the remote access session was started.
- Parameters:
started
- The date and time the remote access session was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopped
The date and time the remote access session was stopped.
- Parameters:
stopped
- The date and time the remote access session was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The device (phone or tablet) used in the remote access session.
- Parameters:
device
- The device (phone or tablet) used in the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The device (phone or tablet) used in the remote access session.
This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevice(Device)
.- Parameters:
device
- a consumer that will call methods onDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceArn
The ARN of the instance.
- Parameters:
instanceArn
- The ARN of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDebugEnabled
This flag is set to
true
if remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
- Parameters:
remoteDebugEnabled
- This flag is set totrue
if remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteRecordEnabled
This flag is set to
true
if remote recording is enabled for the remote access session.- Parameters:
remoteRecordEnabled
- This flag is set totrue
if remote recording is enabled for the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteRecordAppArn
The ARN for the app to be recorded in the remote access session.
- Parameters:
remoteRecordAppArn
- The ARN for the app to be recorded in the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostAddress
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.
- Parameters:
hostAddress
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
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.
- Parameters:
clientId
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingMethod
The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology.- Parameters:
billingMethod
- The billing method of the remote access session. Possible values includeMETERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingMethod
The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology.- Parameters:
billingMethod
- The billing method of the remote access session. Possible values includeMETERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceMinutes
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
- Parameters:
deviceMinutes
- The number of minutes a device is used in a remote access session (including setup and teardown minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
This is a convenience method that creates an instance of theDeviceMinutes.Builder
avoiding the need to create one manually viaDeviceMinutes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceMinutes(DeviceMinutes)
.- Parameters:
deviceMinutes
- a consumer that will call methods onDeviceMinutes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoint
The endpoint for the remote access sesssion.
- Parameters:
endpoint
- The endpoint for the remote access sesssion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceUdid
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.
- Parameters:
deviceUdid
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactionMode
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.
- Parameters:
interactionMode
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
interactionMode
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.
- Parameters:
interactionMode
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
skipAppResign
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.
- Parameters:
skipAppResign
- When set totrue
, 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
- Parameters:
vpcConfig
- The VPC security groups and subnets that are attached to a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-