Class DescribeAgentsRequest

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

public class DescribeAgentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeAgentsRequest

      public DescribeAgentsRequest()
  • Method Details

    • getAgentIds

      public List<String> getAgentIds()

      The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.

      Returns:
      The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
    • setAgentIds

      public void setAgentIds(Collection<String> agentIds)

      The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.

      Parameters:
      agentIds - The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
    • withAgentIds

      public DescribeAgentsRequest withAgentIds(String... agentIds)

      The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.

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

      Parameters:
      agentIds - The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAgentIds

      public DescribeAgentsRequest withAgentIds(Collection<String> agentIds)

      The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.

      Parameters:
      agentIds - The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxResults

      public void setMaxResults(Integer maxResults)

      The total number of agents to return. The maximum value is 100.

      Parameters:
      maxResults - The total number of agents to return. The maximum value is 100.
    • getMaxResults

      public Integer getMaxResults()

      The total number of agents to return. The maximum value is 100.

      Returns:
      The total number of agents to return. The maximum value is 100.
    • withMaxResults

      public DescribeAgentsRequest withMaxResults(Integer maxResults)

      The total number of agents to return. The maximum value is 100.

      Parameters:
      maxResults - The total number of agents to return. The maximum value is 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      A token to start the list. Use this token to get the next set of results.

      Parameters:
      nextToken - A token to start the list. Use this token to get the next set of results.
    • getNextToken

      public String getNextToken()

      A token to start the list. Use this token to get the next set of results.

      Returns:
      A token to start the list. Use this token to get the next set of results.
    • withNextToken

      public DescribeAgentsRequest withNextToken(String nextToken)

      A token to start the list. Use this token to get the next set of results.

      Parameters:
      nextToken - A token to start the list. Use this token to get the next set of results.
      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 DescribeAgentsRequest 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: