@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
Represents a device type that an app is tested against.
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
Device |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The device's ARN.
|
String |
getAvailability()
Indicates how likely a device is available for a test run.
|
String |
getCarrier()
The device's carrier.
|
CPU |
getCpu()
Information about the device's CPU.
|
String |
getFleetName()
The name of the fleet to which this device belongs.
|
String |
getFleetType()
The type of fleet to which this device belongs.
|
String |
getFormFactor()
The device's form factor.
|
Long |
getHeapSize()
The device's heap size, expressed in bytes.
|
String |
getImage()
The device's image name.
|
List<DeviceInstance> |
getInstances()
The instances that belong to this device.
|
String |
getManufacturer()
The device's manufacturer name.
|
Long |
getMemory()
The device's total memory size, expressed in bytes.
|
String |
getModel()
The device's model name.
|
String |
getModelId()
The device's model ID.
|
String |
getName()
The device's display name.
|
String |
getOs()
The device's operating system type.
|
String |
getPlatform()
The device's platform.
|
String |
getRadio()
The device's radio.
|
Boolean |
getRemoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
|
Boolean |
getRemoteDebugEnabled()
This flag is set to
true if remote debugging is enabled for the device. |
Resolution |
getResolution()
The resolution of the device.
|
int |
hashCode() |
Boolean |
isRemoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
|
Boolean |
isRemoteDebugEnabled()
This flag is set to
true if remote debugging is enabled for the device. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The device's ARN.
|
void |
setAvailability(DeviceAvailability availability)
Indicates how likely a device is available for a test run.
|
void |
setAvailability(String availability)
Indicates how likely a device is available for a test run.
|
void |
setCarrier(String carrier)
The device's carrier.
|
void |
setCpu(CPU cpu)
Information about the device's CPU.
|
void |
setFleetName(String fleetName)
The name of the fleet to which this device belongs.
|
void |
setFleetType(String fleetType)
The type of fleet to which this device belongs.
|
void |
setFormFactor(DeviceFormFactor formFactor)
The device's form factor.
|
void |
setFormFactor(String formFactor)
The device's form factor.
|
void |
setHeapSize(Long heapSize)
The device's heap size, expressed in bytes.
|
void |
setImage(String image)
The device's image name.
|
void |
setInstances(Collection<DeviceInstance> instances)
The instances that belong to this device.
|
void |
setManufacturer(String manufacturer)
The device's manufacturer name.
|
void |
setMemory(Long memory)
The device's total memory size, expressed in bytes.
|
void |
setModel(String model)
The device's model name.
|
void |
setModelId(String modelId)
The device's model ID.
|
void |
setName(String name)
The device's display name.
|
void |
setOs(String os)
The device's operating system type.
|
void |
setPlatform(DevicePlatform platform)
The device's platform.
|
void |
setPlatform(String platform)
The device's platform.
|
void |
setRadio(String radio)
The device's radio.
|
void |
setRemoteAccessEnabled(Boolean remoteAccessEnabled)
Specifies whether remote access has been enabled for the specified device.
|
void |
setRemoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
true if remote debugging is enabled for the device. |
void |
setResolution(Resolution resolution)
The resolution of the device.
|
String |
toString()
Returns a string representation of this object.
|
Device |
withArn(String arn)
The device's ARN.
|
Device |
withAvailability(DeviceAvailability availability)
Indicates how likely a device is available for a test run.
|
Device |
withAvailability(String availability)
Indicates how likely a device is available for a test run.
|
Device |
withCarrier(String carrier)
The device's carrier.
|
Device |
withCpu(CPU cpu)
Information about the device's CPU.
|
Device |
withFleetName(String fleetName)
The name of the fleet to which this device belongs.
|
Device |
withFleetType(String fleetType)
The type of fleet to which this device belongs.
|
Device |
withFormFactor(DeviceFormFactor formFactor)
The device's form factor.
|
Device |
withFormFactor(String formFactor)
The device's form factor.
|
Device |
withHeapSize(Long heapSize)
The device's heap size, expressed in bytes.
|
Device |
withImage(String image)
The device's image name.
|
Device |
withInstances(Collection<DeviceInstance> instances)
The instances that belong to this device.
|
Device |
withInstances(DeviceInstance... instances)
The instances that belong to this device.
|
Device |
withManufacturer(String manufacturer)
The device's manufacturer name.
|
Device |
withMemory(Long memory)
The device's total memory size, expressed in bytes.
|
Device |
withModel(String model)
The device's model name.
|
Device |
withModelId(String modelId)
The device's model ID.
|
Device |
withName(String name)
The device's display name.
|
Device |
withOs(String os)
The device's operating system type.
|
Device |
withPlatform(DevicePlatform platform)
The device's platform.
|
Device |
withPlatform(String platform)
The device's platform.
|
Device |
withRadio(String radio)
The device's radio.
|
Device |
withRemoteAccessEnabled(Boolean remoteAccessEnabled)
Specifies whether remote access has been enabled for the specified device.
|
Device |
withRemoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
true if remote debugging is enabled for the device. |
Device |
withResolution(Resolution resolution)
The resolution of the device.
|
public void setArn(String arn)
The device's ARN.
arn
- The device's ARN.public String getArn()
The device's ARN.
public Device withArn(String arn)
The device's ARN.
arn
- The device's ARN.public void setName(String name)
The device's display name.
name
- The device's display name.public String getName()
The device's display name.
public Device withName(String name)
The device's display name.
name
- The device's display name.public void setManufacturer(String manufacturer)
The device's manufacturer name.
manufacturer
- The device's manufacturer name.public String getManufacturer()
The device's manufacturer name.
public Device withManufacturer(String manufacturer)
The device's manufacturer name.
manufacturer
- The device's manufacturer name.public void setModel(String model)
The device's model name.
model
- The device's model name.public String getModel()
The device's model name.
public Device withModel(String model)
The device's model name.
model
- The device's model name.public void setModelId(String modelId)
The device's model ID.
modelId
- The device's model ID.public String getModelId()
The device's model ID.
public Device withModelId(String modelId)
The device's model ID.
modelId
- The device's model ID.public void setFormFactor(String formFactor)
The device's form factor.
Allowed values include:
PHONE
TABLET
formFactor
- The device's form factor.
Allowed values include:
PHONE
TABLET
DeviceFormFactor
public String getFormFactor()
The device's form factor.
Allowed values include:
PHONE
TABLET
Allowed values include:
PHONE
TABLET
DeviceFormFactor
public Device withFormFactor(String formFactor)
The device's form factor.
Allowed values include:
PHONE
TABLET
formFactor
- The device's form factor.
Allowed values include:
PHONE
TABLET
DeviceFormFactor
public void setFormFactor(DeviceFormFactor formFactor)
The device's form factor.
Allowed values include:
PHONE
TABLET
formFactor
- The device's form factor.
Allowed values include:
PHONE
TABLET
DeviceFormFactor
public Device withFormFactor(DeviceFormFactor formFactor)
The device's form factor.
Allowed values include:
PHONE
TABLET
formFactor
- The device's form factor.
Allowed values include:
PHONE
TABLET
DeviceFormFactor
public void setPlatform(String platform)
The device's platform.
Allowed values include:
ANDROID
IOS
platform
- The device's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public String getPlatform()
The device's platform.
Allowed values include:
ANDROID
IOS
Allowed values include:
ANDROID
IOS
DevicePlatform
public Device withPlatform(String platform)
The device's platform.
Allowed values include:
ANDROID
IOS
platform
- The device's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public void setPlatform(DevicePlatform platform)
The device's platform.
Allowed values include:
ANDROID
IOS
platform
- The device's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public Device withPlatform(DevicePlatform platform)
The device's platform.
Allowed values include:
ANDROID
IOS
platform
- The device's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public void setOs(String os)
The device's operating system type.
os
- The device's operating system type.public String getOs()
The device's operating system type.
public Device withOs(String os)
The device's operating system type.
os
- The device's operating system type.public void setCpu(CPU cpu)
Information about the device's CPU.
cpu
- Information about the device's CPU.public CPU getCpu()
Information about the device's CPU.
public Device withCpu(CPU cpu)
Information about the device's CPU.
cpu
- Information about the device's CPU.public void setResolution(Resolution resolution)
The resolution of the device.
resolution
- The resolution of the device.public Resolution getResolution()
The resolution of the device.
public Device withResolution(Resolution resolution)
The resolution of the device.
resolution
- The resolution of the device.public void setHeapSize(Long heapSize)
The device's heap size, expressed in bytes.
heapSize
- The device's heap size, expressed in bytes.public Long getHeapSize()
The device's heap size, expressed in bytes.
public Device withHeapSize(Long heapSize)
The device's heap size, expressed in bytes.
heapSize
- The device's heap size, expressed in bytes.public void setMemory(Long memory)
The device's total memory size, expressed in bytes.
memory
- The device's total memory size, expressed in bytes.public Long getMemory()
The device's total memory size, expressed in bytes.
public Device withMemory(Long memory)
The device's total memory size, expressed in bytes.
memory
- The device's total memory size, expressed in bytes.public void setImage(String image)
The device's image name.
image
- The device's image name.public String getImage()
The device's image name.
public Device withImage(String image)
The device's image name.
image
- The device's image name.public void setCarrier(String carrier)
The device's carrier.
carrier
- The device's carrier.public String getCarrier()
The device's carrier.
public Device withCarrier(String carrier)
The device's carrier.
carrier
- The device's carrier.public void setRadio(String radio)
The device's radio.
radio
- The device's radio.public String getRadio()
The device's radio.
public Device withRadio(String radio)
The device's radio.
radio
- The device's radio.public void setRemoteAccessEnabled(Boolean remoteAccessEnabled)
Specifies whether remote access has been enabled for the specified device.
remoteAccessEnabled
- Specifies whether remote access has been enabled for the specified device.public Boolean getRemoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
public Device withRemoteAccessEnabled(Boolean remoteAccessEnabled)
Specifies whether remote access has been enabled for the specified device.
remoteAccessEnabled
- Specifies whether remote access has been enabled for the specified device.public Boolean isRemoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
public void setRemoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
remoteDebugEnabled
- This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
public Boolean getRemoteDebugEnabled()
This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
public Device withRemoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
remoteDebugEnabled
- This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
public Boolean isRemoteDebugEnabled()
This flag is set to true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
true
if remote debugging is enabled for the device.
Remote debugging is no longer supported.
public void setFleetType(String fleetType)
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
fleetType
- The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.public String getFleetType()
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
public Device withFleetType(String fleetType)
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
fleetType
- The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.public void setFleetName(String fleetName)
The name of the fleet to which this device belongs.
fleetName
- The name of the fleet to which this device belongs.public String getFleetName()
The name of the fleet to which this device belongs.
public Device withFleetName(String fleetName)
The name of the fleet to which this device belongs.
fleetName
- The name of the fleet to which this device belongs.public List<DeviceInstance> getInstances()
The instances that belong to this device.
public void setInstances(Collection<DeviceInstance> instances)
The instances that belong to this device.
instances
- The instances that belong to this device.public Device withInstances(DeviceInstance... instances)
The instances that belong to this device.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The instances that belong to this device.public Device withInstances(Collection<DeviceInstance> instances)
The instances that belong to this device.
instances
- The instances that belong to this device.public void setAvailability(String availability)
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices
and GetDevice API methods.DeviceAvailability
public String getAvailability()
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
DeviceAvailability
public Device withAvailability(String availability)
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices
and GetDevice API methods.DeviceAvailability
public void setAvailability(DeviceAvailability availability)
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices
and GetDevice API methods.DeviceAvailability
public Device withAvailability(DeviceAvailability availability)
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices
and GetDevice API methods.DeviceAvailability
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.