Interface Device.Builder

    • 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.
      • 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.
      • 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 true if remote debugging is enabled for the device.

        Remote debugging is no longer supported.

        Parameters:
        remoteDebugEnabled - This flag is set to true 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

        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.
      • 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