public BatchGetFreeTrialInfoResult withAccounts(java.util.Collection<FreeTrialAccountInfo> accounts) {
        setAccounts(accounts);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/BatchGetFreeTrialInfoResult.java