@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAgentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentInfo> |
getAgentsInfo()
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not
specify an agent/collector ID.
|
String |
getNextToken()
Token to retrieve the next set of results.
|
int |
hashCode() |
void |
setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not
specify an agent/collector ID.
|
void |
setNextToken(String nextToken)
Token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAgentsResult |
withAgentsInfo(AgentInfo... agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not
specify an agent/collector ID.
|
DescribeAgentsResult |
withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not
specify an agent/collector ID.
|
DescribeAgentsResult |
withNextToken(String nextToken)
Token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentInfo> getAgentsInfo()
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
public void setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
agentsInfo
- Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did
not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access
control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the
version number of each agent/collector.public DescribeAgentsResult withAgentsInfo(AgentInfo... agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
NOTE: This method appends the values to the existing list (if any). Use
setAgentsInfo(java.util.Collection)
or withAgentsInfo(java.util.Collection)
if you want to
override the existing values.
agentsInfo
- Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did
not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access
control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the
version number of each agent/collector.public DescribeAgentsResult withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
agentsInfo
- Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did
not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access
control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the
version number of each agent/collector.public void setNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of
10.
nextToken
- Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with this token. Use this token in the next query to retrieve the
next set of 10.public String getNextToken()
Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of
10.
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with this token. Use this token in the next query to retrieve the
next set of 10.public DescribeAgentsResult withNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of
10.
nextToken
- Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with this token. Use this token in the next query to retrieve the
next set of 10.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentsResult clone()