Interface DescribeAgentsResponse.Builder

All Superinterfaces:
ApplicationDiscoveryResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<DescribeAgentsResponse.Builder,DescribeAgentsResponse>, SdkBuilder<DescribeAgentsResponse.Builder,DescribeAgentsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeAgentsResponse

  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentsInfo

      DescribeAgentsResponse.Builder agentsInfo(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the AgentInfo.Builder avoiding the need to create one manually via AgentInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentsInfo(List<AgentInfo>).

      Parameters:
      agentsInfo - a consumer that will call methods on AgentInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      DescribeAgentsResponse.Builder nextToken(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.