Class CreateDevicePoolRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.devicefarm.model.CreateDevicePoolRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents a request to the create device pool operation.

See Also:
  • Constructor Details

    • CreateDevicePoolRequest

      public CreateDevicePoolRequest()
  • Method Details

    • setProjectArn

      public void setProjectArn(String projectArn)

      The ARN of the project for the device pool.

      Parameters:
      projectArn - The ARN of the project for the device pool.
    • getProjectArn

      public String getProjectArn()

      The ARN of the project for the device pool.

      Returns:
      The ARN of the project for the device pool.
    • withProjectArn

      public CreateDevicePoolRequest withProjectArn(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.
    • 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 CreateDevicePoolRequest 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 CreateDevicePoolRequest 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.
    • getRules

      public List<Rule> getRules()

      The device pool's rules.

      Returns:
      The device pool's rules.
    • setRules

      public void setRules(Collection<Rule> rules)

      The device pool's rules.

      Parameters:
      rules - The device pool's rules.
    • withRules

      public CreateDevicePoolRequest withRules(Rule... rules)

      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 - The device pool's rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRules

      public CreateDevicePoolRequest withRules(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.
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateDevicePoolRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: