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