Interface Device.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Device.Builder,Device>,SdkBuilder<Device.Builder,Device>,SdkPojo
- Enclosing class:
- Device
public static interface Device.Builder extends SdkPojo, CopyableBuilder<Device.Builder,Device>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Device.Builderarn(String arn)The device's ARN.Device.Builderavailability(String availability)Indicates how likely a device is available for a test run.Device.Builderavailability(DeviceAvailability availability)Indicates how likely a device is available for a test run.Device.Buildercarrier(String carrier)The device's carrier.default Device.Buildercpu(Consumer<CPU.Builder> cpu)Information about the device's CPU.Device.Buildercpu(CPU cpu)Information about the device's CPU.Device.BuilderfleetName(String fleetName)The name of the fleet to which this device belongs.Device.BuilderfleetType(String fleetType)The type of fleet to which this device belongs.Device.BuilderformFactor(String formFactor)The device's form factor.Device.BuilderformFactor(DeviceFormFactor formFactor)The device's form factor.Device.BuilderheapSize(Long heapSize)The device's heap size, expressed in bytes.Device.Builderimage(String image)The device's image name.Device.Builderinstances(Collection<DeviceInstance> instances)The instances that belong to this device.Device.Builderinstances(Consumer<DeviceInstance.Builder>... instances)The instances that belong to this device.Device.Builderinstances(DeviceInstance... instances)The instances that belong to this device.Device.Buildermanufacturer(String manufacturer)The device's manufacturer name.Device.Buildermemory(Long memory)The device's total memory size, expressed in bytes.Device.Buildermodel(String model)The device's model name.Device.BuildermodelId(String modelId)The device's model ID.Device.Buildername(String name)The device's display name.Device.Builderos(String os)The device's operating system type.Device.Builderplatform(String platform)The device's platform.Device.Builderplatform(DevicePlatform platform)The device's platform.Device.Builderradio(String radio)The device's radio.Device.BuilderremoteAccessEnabled(Boolean remoteAccessEnabled)Specifies whether remote access has been enabled for the specified device.Device.BuilderremoteDebugEnabled(Boolean remoteDebugEnabled)This flag is set totrueif remote debugging is enabled for the device.default Device.Builderresolution(Consumer<Resolution.Builder> resolution)The resolution of the device.Device.Builderresolution(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 Detail
-
arn
Device.Builder arn(String 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
Device.Builder name(String 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
Device.Builder manufacturer(String 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
Device.Builder model(String 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
Device.Builder modelId(String 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
Device.Builder formFactor(String 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:
DeviceFormFactor,DeviceFormFactor
-
-
formFactor
Device.Builder formFactor(DeviceFormFactor 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:
DeviceFormFactor,DeviceFormFactor
-
-
platform
Device.Builder platform(String 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:
DevicePlatform,DevicePlatform
-
-
platform
Device.Builder platform(DevicePlatform 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:
DevicePlatform,DevicePlatform
-
-
os
Device.Builder os(String 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
Device.Builder cpu(CPU 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
default Device.Builder cpu(Consumer<CPU.Builder> cpu)
Information about the device's CPU.
This is a convenience method that creates an instance of theCPU.Builderavoiding the need to create one manually viaCPU.builder().When the
Consumercompletes,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:
cpu(CPU)
-
resolution
Device.Builder resolution(Resolution 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
default Device.Builder resolution(Consumer<Resolution.Builder> resolution)
The resolution of the device.
This is a convenience method that creates an instance of theResolution.Builderavoiding the need to create one manually viaResolution.builder().When the
Consumercompletes,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:
resolution(Resolution)
-
heapSize
Device.Builder heapSize(Long 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
Device.Builder memory(Long 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
Device.Builder image(String 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
Device.Builder carrier(String 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
Device.Builder radio(String 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
Device.Builder remoteAccessEnabled(Boolean 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
Device.Builder remoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
trueif remote debugging is enabled for the device.Remote debugging is no longer supported.
- Parameters:
remoteDebugEnabled- This flag is set totrueif 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
Device.Builder fleetType(String 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
Device.Builder fleetName(String 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
Device.Builder instances(Collection<DeviceInstance> 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
Device.Builder instances(DeviceInstance... 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
Device.Builder instances(Consumer<DeviceInstance.Builder>... instances)
The instances that belong to this device.
This is a convenience method that creates an instance of theDeviceInstance.Builderavoiding the need to create one manually viaDeviceInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instances(List.) - 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:
#instances(java.util.Collection)
-
availability
Device.Builder availability(String 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:
DeviceAvailability,DeviceAvailability
-
availability
Device.Builder availability(DeviceAvailability 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:
DeviceAvailability,DeviceAvailability
-
-