public static interface Device.Builder extends CopyableBuilder<Device.Builder,Device>
Modifier and Type | Method and Description |
---|---|
Device.Builder |
arn(String arn)
The device's ARN.
|
Device.Builder |
carrier(String carrier)
The device's carrier.
|
default Device.Builder |
cpu(Consumer<CPU.Builder> cpu)
Information about the device's CPU.
|
Device.Builder |
cpu(CPU cpu)
Information about the device's CPU.
|
Device.Builder |
fleetName(String fleetName)
The name of the fleet to which this device belongs.
|
Device.Builder |
fleetType(String fleetType)
The type of fleet to which this device belongs.
|
Device.Builder |
formFactor(DeviceFormFactor formFactor)
The device's form factor.
|
Device.Builder |
formFactor(String formFactor)
The device's form factor.
|
Device.Builder |
heapSize(Long heapSize)
The device's heap size, expressed in bytes.
|
Device.Builder |
image(String image)
The device's image name.
|
Device.Builder |
manufacturer(String manufacturer)
The device's manufacturer name.
|
Device.Builder |
memory(Long memory)
The device's total memory size, expressed in bytes.
|
Device.Builder |
model(String model)
The device's model name.
|
Device.Builder |
name(String name)
The device's display name.
|
Device.Builder |
os(String os)
The device's operating system type.
|
Device.Builder |
platform(DevicePlatform platform)
The device's platform.
|
Device.Builder |
platform(String platform)
The device's platform.
|
Device.Builder |
radio(String radio)
The device's radio.
|
Device.Builder |
remoteAccessEnabled(Boolean remoteAccessEnabled)
Specifies whether remote access has been enabled for the specified device.
|
Device.Builder |
remoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
true if remote debugging is enabled for the device. |
default Device.Builder |
resolution(Consumer<Resolution.Builder> resolution)
The resolution of the device.
|
Device.Builder |
resolution(Resolution resolution)
The resolution of the device.
|
copy
apply, build
Device.Builder arn(String arn)
The device's ARN.
arn
- The device's ARN.Device.Builder name(String name)
The device's display name.
name
- The device's display name.Device.Builder manufacturer(String manufacturer)
The device's manufacturer name.
manufacturer
- The device's manufacturer name.Device.Builder model(String model)
The device's model name.
model
- The device's model name.Device.Builder formFactor(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
,
DeviceFormFactor
Device.Builder formFactor(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
,
DeviceFormFactor
Device.Builder platform(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
,
DevicePlatform
Device.Builder platform(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
,
DevicePlatform
Device.Builder os(String os)
The device's operating system type.
os
- The device's operating system type.Device.Builder cpu(CPU cpu)
Information about the device's CPU.
cpu
- Information about the device's CPU.default Device.Builder cpu(Consumer<CPU.Builder> cpu)
Information about the device's CPU.
This is a convenience that creates an instance of theCPU.Builder
avoiding the need to create one
manually via CPU.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to cpu(CPU)
.cpu
- a consumer that will call methods on CPU.Builder
cpu(CPU)
Device.Builder resolution(Resolution resolution)
The resolution of the device.
resolution
- The resolution of the device.default Device.Builder resolution(Consumer<Resolution.Builder> resolution)
The resolution of the device.
This is a convenience that creates an instance of theResolution.Builder
avoiding the need to create
one manually via Resolution.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to resolution(Resolution)
.resolution
- a consumer that will call methods on Resolution.Builder
resolution(Resolution)
Device.Builder heapSize(Long heapSize)
The device's heap size, expressed in bytes.
heapSize
- The device's heap size, expressed in bytes.Device.Builder memory(Long memory)
The device's total memory size, expressed in bytes.
memory
- The device's total memory size, expressed in bytes.Device.Builder image(String image)
The device's image name.
image
- The device's image name.Device.Builder carrier(String carrier)
The device's carrier.
carrier
- The device's carrier.Device.Builder radio(String radio)
The device's radio.
radio
- The device's radio.Device.Builder remoteAccessEnabled(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.Device.Builder remoteDebugEnabled(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.Device.Builder fleetType(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.Device.Builder fleetName(String fleetName)
The name of the fleet to which this device belongs.
fleetName
- The name of the fleet to which this device belongs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.