public StopDataCollectionByAgentIdsResult withAgentsConfigurationStatus(AgentConfigurationStatus... agentsConfigurationStatus) {
        if (this.agentsConfigurationStatus == null) {
            setAgentsConfigurationStatus(new java.util.ArrayList<AgentConfigurationStatus>(agentsConfigurationStatus.length));
        }
        for (AgentConfigurationStatus ele : agentsConfigurationStatus) {
            this.agentsConfigurationStatus.add(ele);
        }
        return this;
    }
<p>
Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a
description of the operation performed, and whether the agent configuration was updated.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAgentsConfigurationStatus(java.util.Collection)} or
{@link #withAgentsConfigurationStatus(java.util.Collection)} if you want to override the existing values.
</p>

@param agentsConfigurationStatus
       Information about the agents that were instructed to stop collecting data. Information includes the agent
       ID, a description of the operation performed, and whether the agent configuration was updated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/StopDataCollectionByAgentIdsResult.java