public EnableResult withAccounts(java.util.Collection<Account> accounts) {
        setAccounts(accounts);
        return this;
    }
<p>
Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for
each account.
</p>

@param accounts
       Information on the accounts that have had Amazon Inspector scans successfully 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