Interface DescribeAgentsResponse.Builder
-
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAgentsResponse.Builder,DescribeAgentsResponse>,SdkBuilder<DescribeAgentsResponse.Builder,DescribeAgentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAgentsResponse
public static interface DescribeAgentsResponse.Builder extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<DescribeAgentsResponse.Builder,DescribeAgentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAgentsResponse.BuilderagentsInfo(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.DescribeAgentsResponse.BuilderagentsInfo(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.DescribeAgentsResponse.BuilderagentsInfo(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.DescribeAgentsResponse.BuildernextToken(String nextToken)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 Detail
-
agentsInfo
DescribeAgentsResponse.Builder agentsInfo(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.
- 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
DescribeAgentsResponse.Builder 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. 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.Builderavoiding the need to create one manually viaAgentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentsInfo(List.) - 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:
#agentsInfo(java.util.Collection)
-
nextToken
DescribeAgentsResponse.Builder nextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIdsbut setDescribeAgentsRequest$maxResultsto 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$agentIdsbut setDescribeAgentsRequest$maxResultsto 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.
-
-