@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 |
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.
|
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 |
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 |
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 |
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 |
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; useful for testing and debugging.
|
Device |
withArn(String arn)
The device's ARN.
|
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 |
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 |
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 setFormFactor(String formFactor)
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
formFactor
- The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactor
public String getFormFactor()
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactor
public Device withFormFactor(String formFactor)
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
formFactor
- The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactor
public void setFormFactor(DeviceFormFactor formFactor)
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
formFactor
- The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactor
public Device withFormFactor(DeviceFormFactor formFactor)
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
formFactor
- The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactor
public void setPlatform(String platform)
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
public String getPlatform()
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
public Device withPlatform(String platform)
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
public void setPlatform(DevicePlatform platform)
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
public Device withPlatform(DevicePlatform platform)
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
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.
remoteDebugEnabled
- This flag is set to true
if remote debugging is enabled for the device.public Boolean getRemoteDebugEnabled()
This flag is set to true
if remote debugging is enabled for the device.
true
if remote debugging is enabled for the device.public Device withRemoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to true
if remote debugging is enabled for the device.
remoteDebugEnabled
- This flag is set to true
if remote debugging is enabled for the device.public Boolean isRemoteDebugEnabled()
This flag is set to true
if remote debugging is enabled for the device.
true
if remote debugging is enabled for the device.public void setFleetType(String fleetType)
The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC.
fleetType
- The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC.public String getFleetType()
The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC.
public Device withFleetType(String fleetType)
The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC.
fleetType
- The type of fleet to which this device belongs. Possible values for fleet type 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.