@Generated(value="software.amazon.awssdk:codegen") public class Device extends Object implements StructuredPojo, ToCopyableBuilder<Device.Builder,Device>
Represents a device type that an app is tested against.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Device.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The device's ARN.
|
static Device.Builder |
builder() |
String |
carrier()
The device's carrier.
|
CPU |
cpu()
Information about the device's CPU.
|
boolean |
equals(Object obj) |
String |
fleetName()
The name of the fleet to which this device belongs.
|
String |
fleetType()
The type of fleet to which this device belongs.
|
DeviceFormFactor |
formFactor()
The device's form factor.
|
String |
formFactorAsString()
The device's form factor.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
heapSize()
The device's heap size, expressed in bytes.
|
String |
image()
The device's image name.
|
String |
manufacturer()
The device's manufacturer name.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
Long |
memory()
The device's total memory size, expressed in bytes.
|
String |
model()
The device's model name.
|
String |
name()
The device's display name.
|
String |
os()
The device's operating system type.
|
DevicePlatform |
platform()
The device's platform.
|
String |
platformAsString()
The device's platform.
|
String |
radio()
The device's radio.
|
Boolean |
remoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
|
Boolean |
remoteDebugEnabled()
This flag is set to
true if remote debugging is enabled for the device. |
Resolution |
resolution()
The resolution of the device.
|
static Class<? extends Device.Builder> |
serializableBuilderClass() |
Device.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String arn()
The device's ARN.
public String name()
The device's display name.
public String manufacturer()
The device's manufacturer name.
public String model()
The device's model name.
public DeviceFormFactor formFactor()
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
If the service returns an enum value that is not available in the current SDK version, formFactor will
return DeviceFormFactor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formFactorAsString().
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactorpublic String formFactorAsString()
The device's form factor.
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
If the service returns an enum value that is not available in the current SDK version, formFactor will
return DeviceFormFactor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formFactorAsString().
Allowed values include:
PHONE: The phone form factor.
TABLET: The tablet form factor.
DeviceFormFactorpublic DevicePlatform platform()
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
If the service returns an enum value that is not available in the current SDK version, platform will
return DevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic String platformAsString()
The device's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
If the service returns an enum value that is not available in the current SDK version, platform will
return DevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic String os()
The device's operating system type.
public CPU cpu()
Information about the device's CPU.
public Resolution resolution()
The resolution of the device.
public Long heapSize()
The device's heap size, expressed in bytes.
public Long memory()
The device's total memory size, expressed in bytes.
public String image()
The device's image name.
public String carrier()
The device's carrier.
public String radio()
The device's radio.
public Boolean remoteAccessEnabled()
Specifies whether remote access has been enabled for the specified device.
public Boolean remoteDebugEnabled()
This flag is set to true if remote debugging is enabled for the device.
true if remote debugging is enabled for the device.public String fleetType()
The type of fleet to which this device belongs. Possible values for fleet type are PRIVATE and PUBLIC.
public String fleetName()
The name of the fleet to which this device belongs.
public Device.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.