Class DevicePool

    • Constructor Detail

      • DevicePool

        public DevicePool()
    • Method Detail

      • setArn

        public void setArn​(String arn)

        The device pool's ARN.

        Parameters:
        arn - The device pool's ARN.
      • getArn

        public String getArn()

        The device pool's ARN.

        Returns:
        The device pool's ARN.
      • withArn

        public DevicePool withArn​(String arn)

        The device pool's ARN.

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

        public void setName​(String name)

        The device pool's name.

        Parameters:
        name - The device pool's name.
      • getName

        public String getName()

        The device pool's name.

        Returns:
        The device pool's name.
      • withName

        public DevicePool withName​(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.
      • setDescription

        public void setDescription​(String description)

        The device pool's description.

        Parameters:
        description - The device pool's description.
      • getDescription

        public String getDescription()

        The device pool's description.

        Returns:
        The device pool's description.
      • withDescription

        public DevicePool withDescription​(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.
      • setType

        public void setType​(String type)

        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Parameters:
        type - The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        See Also:
        DevicePoolType
      • getType

        public String getType()

        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Returns:
        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        See Also:
        DevicePoolType
      • withType

        public DevicePool withType​(String type)

        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Parameters:
        type - The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DevicePoolType
      • setType

        public void setType​(DevicePoolType type)

        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Parameters:
        type - The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        See Also:
        DevicePoolType
      • withType

        public DevicePool withType​(DevicePoolType type)

        The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Parameters:
        type - The device pool's type.

        Allowed values include:

        • CURATED: A device pool that is created and managed by AWS Device Farm.

        • PRIVATE: A device pool that is created and managed by the device pool developer.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DevicePoolType
      • getRules

        public List<Rule> getRules()

        Information about the device pool's rules.

        Returns:
        Information about the device pool's rules.
      • setRules

        public void setRules​(Collection<Rule> rules)

        Information about the device pool's rules.

        Parameters:
        rules - Information about the device pool's rules.
      • withRules

        public DevicePool withRules​(Rule... rules)

        Information about the device pool's rules.

        NOTE: This method appends the values to the existing list (if any). Use setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the existing values.

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

        public DevicePool withRules​(Collection<Rule> rules)

        Information about the device pool's rules.

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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object