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 Summary
Modifier and TypeMethodDescriptionagentsInfo
(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.agentsInfo
(Consumer<AgentInfo.Builder>... 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.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.Token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theAgentInfo.Builder
avoiding the need to create one manually viaAgentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentsInfo(List<AgentInfo>)
.- Parameters:
agentsInfo
- a consumer that will call methods onAgentInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIds
but setDescribeAgentsRequest$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 forDescribeAgentsRequest$agentIds
but setDescribeAgentsRequest$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.
-