CopyableBuilder<StartDataCollectionByAgentIdsRequest.Builder,StartDataCollectionByAgentIdsRequest>
, SdkBuilder<StartDataCollectionByAgentIdsRequest.Builder,StartDataCollectionByAgentIdsRequest>
public static interface StartDataCollectionByAgentIdsRequest.Builder extends CopyableBuilder<StartDataCollectionByAgentIdsRequest.Builder,StartDataCollectionByAgentIdsRequest>
Modifier and Type | Method | Description |
---|---|---|
StartDataCollectionByAgentIdsRequest.Builder |
agentIds(String... agentIds) |
The IDs of the agents or connectors from which to start collecting data.
|
StartDataCollectionByAgentIdsRequest.Builder |
agentIds(Collection<String> agentIds) |
The IDs of the agents or connectors from which to start collecting data.
|
copy
apply, build
StartDataCollectionByAgentIdsRequest.Builder agentIds(Collection<String> agentIds)
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your AWS 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/connectors and you do not have permission to contact some of those
agents/connectors, the system does not throw an exception. Instead, the system shows Failed
in
the Description field.
agentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your AWS 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/connectors and you do not have permission to contact some of
those agents/connectors, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.StartDataCollectionByAgentIdsRequest.Builder agentIds(String... agentIds)
The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your AWS 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/connectors and you do not have permission to contact some of those
agents/connectors, the system does not throw an exception. Instead, the system shows Failed
in
the Description field.
NOTE: This method appends the values to the existing list (if any). Use
#setAgentIds(java.util.Collection)
or #withAgentIds(java.util.Collection)
if you want to
override the existing values.
agentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an
agent/connector ID that you do not have permission to contact, according to your AWS 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/connectors and you do not have permission to contact some of
those agents/connectors, the system does not throw an exception. Instead, the system shows
Failed
in the Description field.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.