Class DescribeAgentsRequest

    • Constructor Detail

      • DescribeAgentsRequest

        public DescribeAgentsRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object