Interface DescribeAgentsRequest.Builder
-
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>,SdkBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAgentsRequest
public static interface DescribeAgentsRequest.Builder extends ApplicationDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAgentsRequest.BuilderagentIds(String... agentIds)The agent or the collector IDs for which you want information.DescribeAgentsRequest.BuilderagentIds(Collection<String> agentIds)The agent or the collector IDs for which you want information.DescribeAgentsRequest.Builderfilters(Collection<Filter> filters)You can filter the request using various logical operators and a key-value format.DescribeAgentsRequest.Builderfilters(Consumer<Filter.Builder>... filters)You can filter the request using various logical operators and a key-value format.DescribeAgentsRequest.Builderfilters(Filter... filters)You can filter the request using various logical operators and a key-value format.DescribeAgentsRequest.BuildermaxResults(Integer maxResults)The total number of agents/collectors to return in a single page of output.DescribeAgentsRequest.BuildernextToken(String nextToken)Token to retrieve the next set of results.DescribeAgentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeAgentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
agentIds
DescribeAgentsRequest.Builder agentIds(Collection<String> agentIds)
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
- Parameters:
agentIds- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentIds
DescribeAgentsRequest.Builder agentIds(String... agentIds)
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
- Parameters:
agentIds- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAgentsRequest.Builder filters(Collection<Filter> filters)
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}- Parameters:
filters- You can filter the request using various logical operators and a key-value format. For example:{"key": "collectionStatus", "value": "STARTED"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAgentsRequest.Builder filters(Filter... filters)
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}- Parameters:
filters- You can filter the request using various logical operators and a key-value format. For example:{"key": "collectionStatus", "value": "STARTED"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAgentsRequest.Builder filters(Consumer<Filter.Builder>... filters)
You can filter the request using various logical operators and a key-value format. For example:
This is a convenience method that creates an instance of the{"key": "collectionStatus", "value": "STARTED"}Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
DescribeAgentsRequest.Builder maxResults(Integer maxResults)
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
- Parameters:
maxResults- The total number of agents/collectors to return in a single page of output. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeAgentsRequest.Builder nextToken(String nextToken)
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIdsbut setDescribeAgentsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.- Parameters:
nextToken- Token to retrieve the next set of results. For example, if you previously specified 100 IDs forDescribeAgentsRequest$agentIdsbut setDescribeAgentsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeAgentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAgentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-