Interface CreateDevicePoolRequest.Builder

    • Method Detail

      • projectArn

        CreateDevicePoolRequest.Builder projectArn​(String projectArn)

        The ARN of the project for the device pool.

        Parameters:
        projectArn - The ARN of the project for the device pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateDevicePoolRequest.Builder name​(String name)

        The device pool's name.

        Parameters:
        name - The device pool's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateDevicePoolRequest.Builder description​(String description)

        The device pool's description.

        Parameters:
        description - The device pool's description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateDevicePoolRequest.Builder rules​(Collection<Rule> rules)

        The device pool's rules.

        Parameters:
        rules - The device pool's rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateDevicePoolRequest.Builder rules​(Rule... rules)

        The device pool's rules.

        Parameters:
        rules - The device pool's rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxDevices

        CreateDevicePoolRequest.Builder maxDevices​(Integer maxDevices)

        The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.

        By specifying the maximum number of devices, you can control the costs that you incur by running tests.

        Parameters:
        maxDevices - The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.

        By specifying the maximum number of devices, you can control the costs that you incur by running tests.

        Returns:
        Returns a reference to this object so that method calls can be chained together.