public BatchGetFreeTrialInfoResult withFailedAccounts(FreeTrialInfoError... failedAccounts) {
        if (this.failedAccounts == null) {
            setFailedAccounts(new java.util.ArrayList<FreeTrialInfoError>(failedAccounts.length));
        }
        for (FreeTrialInfoError ele : failedAccounts) {
            this.failedAccounts.add(ele);
        }
        return this;
    }
<p>
An array of objects detailing any accounts that free trial data could not be returned for.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFailedAccounts(java.util.Collection)} or {@link #withFailedAccounts(java.util.Collection)} if you want
to override the existing values.
</p>

@param failedAccounts
       An array of objects detailing any accounts that free trial data could not be returned for.
@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