Interface Device.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Device.Builder,
,Device> SdkBuilder<Device.Builder,
,Device> SdkPojo
- Enclosing class:
Device
-
Method Summary
Modifier and TypeMethodDescriptionThe device's ARN.availability
(String availability) Indicates how likely a device is available for a test run.availability
(DeviceAvailability availability) Indicates how likely a device is available for a test run.The device's carrier.default Device.Builder
cpu
(Consumer<CPU.Builder> cpu) Information about the device's CPU.Information about the device's CPU.The name of the fleet to which this device belongs.The type of fleet to which this device belongs.formFactor
(String formFactor) The device's form factor.formFactor
(DeviceFormFactor formFactor) The device's form factor.The device's heap size, expressed in bytes.The device's image name.instances
(Collection<DeviceInstance> instances) The instances that belong to this device.instances
(Consumer<DeviceInstance.Builder>... instances) The instances that belong to this device.instances
(DeviceInstance... instances) The instances that belong to this device.manufacturer
(String manufacturer) The device's manufacturer name.The device's total memory size, expressed in bytes.The device's model name.The device's model ID.The device's display name.The device's operating system type.The device's platform.platform
(DevicePlatform platform) The device's platform.The device's radio.remoteAccessEnabled
(Boolean remoteAccessEnabled) Specifies whether remote access has been enabled for the specified device.remoteDebugEnabled
(Boolean remoteDebugEnabled) This flag is set totrue
if remote debugging is enabled for the device.default Device.Builder
resolution
(Consumer<Resolution.Builder> resolution) The resolution of the device.resolution
(Resolution resolution) The resolution of the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The device's ARN.
- Parameters:
arn
- The device's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The device's display name.
- Parameters:
name
- The device's display name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manufacturer
The device's manufacturer name.
- Parameters:
manufacturer
- The device's manufacturer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
model
The device's model name.
- Parameters:
model
- The device's model name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
The device's model ID.
- Parameters:
modelId
- The device's model ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formFactor
The device's form factor.
Allowed values include:
-
PHONE
-
TABLET
- Parameters:
formFactor
- The device's form factor.Allowed values include:
-
PHONE
-
TABLET
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
formFactor
The device's form factor.
Allowed values include:
-
PHONE
-
TABLET
- Parameters:
formFactor
- The device's form factor.Allowed values include:
-
PHONE
-
TABLET
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
platform
The device's platform.
Allowed values include:
-
ANDROID
-
IOS
- Parameters:
platform
- The device's platform.Allowed values include:
-
ANDROID
-
IOS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
platform
The device's platform.
Allowed values include:
-
ANDROID
-
IOS
- Parameters:
platform
- The device's platform.Allowed values include:
-
ANDROID
-
IOS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
os
The device's operating system type.
- Parameters:
os
- The device's operating system type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpu
Information about the device's CPU.
- Parameters:
cpu
- Information about the device's CPU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpu
Information about the device's CPU.
This is a convenience method that creates an instance of theCPU.Builder
avoiding the need to create one manually viaCPU.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocpu(CPU)
.- Parameters:
cpu
- a consumer that will call methods onCPU.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolution
The resolution of the device.
- Parameters:
resolution
- The resolution of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolution
The resolution of the device.
This is a convenience method that creates an instance of theResolution.Builder
avoiding the need to create one manually viaResolution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresolution(Resolution)
.- Parameters:
resolution
- a consumer that will call methods onResolution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
heapSize
The device's heap size, expressed in bytes.
- Parameters:
heapSize
- The device's heap size, expressed in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memory
The device's total memory size, expressed in bytes.
- Parameters:
memory
- The device's total memory size, expressed in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
The device's image name.
- Parameters:
image
- The device's image name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
carrier
The device's carrier.
- Parameters:
carrier
- The device's carrier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
radio
The device's radio.
- Parameters:
radio
- The device's radio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccessEnabled
Specifies whether remote access has been enabled for the specified device.
- Parameters:
remoteAccessEnabled
- Specifies whether remote access has been enabled for the specified device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDebugEnabled
This flag is set to
true
if remote debugging is enabled for the device.Remote debugging is no longer supported.
- Parameters:
remoteDebugEnabled
- This flag is set totrue
if remote debugging is enabled for the device.Remote debugging is no longer supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetType
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
- Parameters:
fleetType
- The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetName
The name of the fleet to which this device belongs.
- Parameters:
fleetName
- The name of the fleet to which this device belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The instances that belong to this device.
- Parameters:
instances
- The instances that belong to this device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The instances that belong to this device.
- Parameters:
instances
- The instances that belong to this device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The instances that belong to this device.
This is a convenience method that creates an instance of theDeviceInstance.Builder
avoiding the need to create one manually viaDeviceInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<DeviceInstance>)
.- Parameters:
instances
- a consumer that will call methods onDeviceInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availability
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
- Parameters:
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availability
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
- Parameters:
availability
- Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-