public void setAgentIds(java.util.Collection<String> agentIds) {
        if (agentIds == null) {
            this.agentIds = null;
            return;
        }

        this.agentIds = new java.util.ArrayList<String>(agentIds);
    }
<p>
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 <i>Description</i> 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 <code>Failed</code> in the <i>Description</i> field.
</p>

@param 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 <i>Description</i> 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 <code>Failed</code> in the <i>Description</i> field.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/StartDataCollectionByAgentIdsRequest.java