Class UpdateDevicePoolRequest

    • Constructor Detail

      • UpdateDevicePoolRequest

        public UpdateDevicePoolRequest()
    • Method Detail

      • setArn

        public void setArn​(String arn)

        The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.

        Parameters:
        arn - The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
      • getArn

        public String getArn()

        The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.

        Returns:
        The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
      • withArn

        public UpdateDevicePoolRequest withArn​(String arn)

        The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.

        Parameters:
        arn - The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        A string representing the name of the device pool you wish to update.

        Parameters:
        name - A string representing the name of the device pool you wish to update.
      • getName

        public String getName()

        A string representing the name of the device pool you wish to update.

        Returns:
        A string representing the name of the device pool you wish to update.
      • withName

        public UpdateDevicePoolRequest withName​(String name)

        A string representing the name of the device pool you wish to update.

        Parameters:
        name - A string representing the name of the device pool you wish to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A description of the device pool you wish to update.

        Parameters:
        description - A description of the device pool you wish to update.
      • getDescription

        public String getDescription()

        A description of the device pool you wish to update.

        Returns:
        A description of the device pool you wish to update.
      • withDescription

        public UpdateDevicePoolRequest withDescription​(String description)

        A description of the device pool you wish to update.

        Parameters:
        description - A description of the device pool you wish to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRules

        public List<Rule> getRules()

        Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.

        Returns:
        Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
      • setRules

        public void setRules​(Collection<Rule> rules)

        Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.

        Parameters:
        rules - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
      • withRules

        public UpdateDevicePoolRequest withRules​(Rule... rules)

        Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing 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 - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRules

        public UpdateDevicePoolRequest withRules​(Collection<Rule> rules)

        Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.

        Parameters:
        rules - Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing 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