@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 Connector by ID or lists all agents/Connectors associated with your user account if you did
not specify an agent/Connector ID.
|
String |
getNextToken()
Token to retrieve the next set of results.
|
int |
hashCode() |
void |
setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
not specify an agent/Connector ID.
|
void |
setNextToken(String nextToken)
Token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeAgentsResult |
withAgentsInfo(AgentInfo... agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
not specify an agent/Connector ID.
|
DescribeAgentsResult |
withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did
not specify an agent/Connector 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 Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.
public void setAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.
agentsInfo
- Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if
you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media
access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and
the version number of each agent/Connector.public DescribeAgentsResult withAgentsInfo(AgentInfo... agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.
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 Connector by ID or lists all agents/Connectors associated with your user account if
you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media
access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and
the version number of each agent/Connector.public DescribeAgentsResult withAgentsInfo(Collection<AgentInfo> agentsInfo)
Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.
agentsInfo
- Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if
you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media
access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and
the version number of each agent/Connector.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.