Interface RemoteAccessSession.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>,SdkBuilder<RemoteAccessSession.Builder,RemoteAccessSession>,SdkPojo
- Enclosing class:
- RemoteAccessSession
public static interface RemoteAccessSession.Builder extends SdkPojo, CopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RemoteAccessSession.Builderarn(String arn)The Amazon Resource Name (ARN) of the remote access session.RemoteAccessSession.BuilderbillingMethod(String billingMethod)The billing method of the remote access session.RemoteAccessSession.BuilderbillingMethod(BillingMethod billingMethod)The billing method of the remote access session.RemoteAccessSession.BuilderclientId(String clientId)Unique identifier of your client for the remote access session.RemoteAccessSession.Buildercreated(Instant created)The date and time the remote access session was created.default RemoteAccessSession.Builderdevice(Consumer<Device.Builder> device)The device (phone or tablet) used in the remote access session.RemoteAccessSession.Builderdevice(Device device)The device (phone or tablet) used in the remote access session.default RemoteAccessSession.BuilderdeviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)The number of minutes a device is used in a remote access session (including setup and teardown minutes).RemoteAccessSession.BuilderdeviceMinutes(DeviceMinutes deviceMinutes)The number of minutes a device is used in a remote access session (including setup and teardown minutes).RemoteAccessSession.BuilderdeviceUdid(String deviceUdid)Unique device identifier for the remote device.RemoteAccessSession.Builderendpoint(String endpoint)The endpoint for the remote access sesssion.RemoteAccessSession.BuilderhostAddress(String hostAddress)IP address of the EC2 host where you need to connect to remotely debug devices.RemoteAccessSession.BuilderinstanceArn(String instanceArn)The ARN of the instance.RemoteAccessSession.BuilderinteractionMode(String interactionMode)The interaction mode of the remote access session.RemoteAccessSession.BuilderinteractionMode(InteractionMode interactionMode)The interaction mode of the remote access session.RemoteAccessSession.Buildermessage(String message)A message about the remote access session.RemoteAccessSession.Buildername(String name)The name of the remote access session.RemoteAccessSession.BuilderremoteDebugEnabled(Boolean remoteDebugEnabled)This flag is set totrueif remote debugging is enabled for the remote access session.RemoteAccessSession.BuilderremoteRecordAppArn(String remoteRecordAppArn)The ARN for the app to be recorded in the remote access session.RemoteAccessSession.BuilderremoteRecordEnabled(Boolean remoteRecordEnabled)This flag is set totrueif remote recording is enabled for the remote access session.RemoteAccessSession.Builderresult(String result)The result of the remote access session.RemoteAccessSession.Builderresult(ExecutionResult result)The result of the remote access session.RemoteAccessSession.BuilderskipAppResign(Boolean skipAppResign)When set totrue, for private devices, Device Farm does not sign your app again.RemoteAccessSession.Builderstarted(Instant started)The date and time the remote access session was started.RemoteAccessSession.Builderstatus(String status)The status of the remote access session.RemoteAccessSession.Builderstatus(ExecutionStatus status)The status of the remote access session.RemoteAccessSession.Builderstopped(Instant stopped)The date and time the remote access session was stopped.default RemoteAccessSession.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)The VPC security groups and subnets that are attached to a project.RemoteAccessSession.BuildervpcConfig(VpcConfig vpcConfig)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 Detail
-
arn
RemoteAccessSession.Builder arn(String 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
RemoteAccessSession.Builder name(String 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
RemoteAccessSession.Builder created(Instant 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
RemoteAccessSession.Builder status(String 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:
ExecutionStatus,ExecutionStatus
-
-
status
RemoteAccessSession.Builder status(ExecutionStatus 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:
ExecutionStatus,ExecutionStatus
-
-
result
RemoteAccessSession.Builder result(String 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:
ExecutionResult,ExecutionResult
-
-
result
RemoteAccessSession.Builder result(ExecutionResult 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:
ExecutionResult,ExecutionResult
-
-
message
RemoteAccessSession.Builder message(String 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
RemoteAccessSession.Builder started(Instant 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
RemoteAccessSession.Builder stopped(Instant 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
RemoteAccessSession.Builder device(Device 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
default RemoteAccessSession.Builder device(Consumer<Device.Builder> device)
The device (phone or tablet) used in the remote access session.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,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:
device(Device)
-
instanceArn
RemoteAccessSession.Builder instanceArn(String 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
RemoteAccessSession.Builder remoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
trueif remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
- Parameters:
remoteDebugEnabled- This flag is set totrueif 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
RemoteAccessSession.Builder remoteRecordEnabled(Boolean remoteRecordEnabled)
This flag is set to
trueif remote recording is enabled for the remote access session.- Parameters:
remoteRecordEnabled- This flag is set totrueif 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
RemoteAccessSession.Builder remoteRecordAppArn(String 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
RemoteAccessSession.Builder hostAddress(String 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
RemoteAccessSession.Builder clientId(String 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
RemoteAccessSession.Builder billingMethod(String billingMethod)
The billing method of the remote access session. Possible values include
METEREDorUNMETERED. For more information about metered devices, see AWS Device Farm terminology.- Parameters:
billingMethod- The billing method of the remote access session. Possible values includeMETEREDorUNMETERED. 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,BillingMethod
-
billingMethod
RemoteAccessSession.Builder billingMethod(BillingMethod billingMethod)
The billing method of the remote access session. Possible values include
METEREDorUNMETERED. For more information about metered devices, see AWS Device Farm terminology.- Parameters:
billingMethod- The billing method of the remote access session. Possible values includeMETEREDorUNMETERED. 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,BillingMethod
-
deviceMinutes
RemoteAccessSession.Builder deviceMinutes(DeviceMinutes 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
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).
This is a convenience method that creates an instance of theDeviceMinutes.Builderavoiding the need to create one manually viaDeviceMinutes.builder().When the
Consumercompletes,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:
deviceMinutes(DeviceMinutes)
-
endpoint
RemoteAccessSession.Builder endpoint(String 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
RemoteAccessSession.Builder deviceUdid(String 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
RemoteAccessSession.Builder interactionMode(String 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,InteractionMode
-
-
interactionMode
RemoteAccessSession.Builder interactionMode(InteractionMode 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,InteractionMode
-
-
skipAppResign
RemoteAccessSession.Builder skipAppResign(Boolean 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
RemoteAccessSession.Builder vpcConfig(VpcConfig 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
default RemoteAccessSession.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The VPC security groups and subnets that are attached to a project.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,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:
vpcConfig(VpcConfig)
-
-