Interface StartDataCollectionByAgentIdsRequest.Builder
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<StartDataCollectionByAgentIdsRequest.Builder,
,StartDataCollectionByAgentIdsRequest> SdkBuilder<StartDataCollectionByAgentIdsRequest.Builder,
,StartDataCollectionByAgentIdsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartDataCollectionByAgentIdsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe IDs of the agents from which to start collecting data.agentIds
(Collection<String> agentIds) The IDs of the agents from which to start collecting data.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
agentIds
The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.- Parameters:
agentIds
- The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system showsFailed
in the Description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentIds
The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.- Parameters:
agentIds
- The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system showsFailed
in the Description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartDataCollectionByAgentIdsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartDataCollectionByAgentIdsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-