public EnableResult withFailedAccounts(FailedAccount... failedAccounts) {
        if (this.failedAccounts == null) {
            setFailedAccounts(new java.util.ArrayList<FailedAccount>(failedAccounts.length));
        }
        for (FailedAccount ele : failedAccounts) {
            this.failedAccounts.add(ele);
        }
        return this;
    }
<p>
Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each
account.
</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
       Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided
       for each account.
@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/EnableResult.java