public void setAccounts(java.util.Collection<FreeTrialAccountInfo> accounts) {
        if (accounts == null) {
            this.accounts = null;
            return;
        }

        this.accounts = new java.util.ArrayList<FreeTrialAccountInfo>(accounts);
    }
<p>
An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
</p>

@param accounts
       An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/BatchGetFreeTrialInfoResult.java