/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.devicefarm.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Represents information about the remote access session. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class RemoteAccessSession implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Resource Name (ARN) of the remote access session. *

*/ private String arn; /** *

* The name of the remote access session. *

*/ private String name; /** *

* The date and time the remote access session was created. *

*/ private java.util.Date created; /** *

* The status of the remote access session. Can be any of the following: *

* */ private String status; /** *

* The result of the remote access session. Can be any of the following: *

* */ private String result; /** *

* A message about the remote access session. *

*/ private String message; /** *

* The date and time the remote access session was started. *

*/ private java.util.Date started; /** *

* The date and time the remote access session was stopped. *

*/ private java.util.Date stopped; /** *

* The device (phone or tablet) used in the remote access session. *

*/ private Device device; /** *

* The ARN of the instance. *

*/ private String instanceArn; /** *

* This flag is set to true if remote debugging is enabled for the remote access session. *

*

* Remote debugging is no longer * supported. *

*/ private Boolean remoteDebugEnabled; /** *

* This flag is set to true if remote recording is enabled for the remote access session. *

*/ private Boolean remoteRecordEnabled; /** *

* The ARN for the app to be recorded in the remote access session. *

*/ private String remoteRecordAppArn; /** *

* 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. *

*/ private String hostAddress; /** *

* 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. *

*/ private String clientId; /** *

* 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. *

*/ private String billingMethod; /** *

* The number of minutes a device is used in a remote access session (including setup and teardown minutes). *

*/ private DeviceMinutes deviceMinutes; /** *

* The endpoint for the remote access sesssion. *

*/ private String endpoint; /** *

* 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. *

*/ private String deviceUdid; /** *

* The interaction mode of the remote access session. Valid values are: *

* */ private String interactionMode; /** *

* 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. *

*/ private Boolean skipAppResign; /** *

* The VPC security groups and subnets that are attached to a project. *

*/ private VpcConfig vpcConfig; /** *

* The Amazon Resource Name (ARN) of the remote access session. *

* * @param arn * The Amazon Resource Name (ARN) of the remote access session. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) of the remote access session. *

* * @return The Amazon Resource Name (ARN) of the remote access session. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) of the remote access session. *

* * @param arn * The Amazon Resource Name (ARN) of the remote access session. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoteAccessSession withArn(String arn) { setArn(arn); return this; } /** *

* The name of the remote access session. *

* * @param name * The name of the remote access session. */ public void setName(String name) { this.name = name; } /** *

* The name of the remote access session. *

* * @return The name of the remote access session. */ public String getName() { return this.name; } /** *

* The name of the remote access session. *

* * @param name * The name of the remote access session. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoteAccessSession withName(String name) { setName(name); return this; } /** *

* The date and time the remote access session was created. *

* * @param created * The date and time the remote access session was created. */ public void setCreated(java.util.Date created) { this.created = created; } /** *

* The date and time the remote access session was created. *

* * @return The date and time the remote access session was created. */ public java.util.Date getCreated() { return this.created; } /** *

* The date and time the remote access session was created. *

* * @param created * The date and time the remote access session was created. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoteAccessSession withCreated(java.util.Date created) { setCreated(created); return this; } /** *

* The status of the remote access session. Can be any of the following: *

* * * @param status * The status of the remote access session. Can be any of the following:

*