public UsageTopAccountsResult withAccounts(java.util.Collection<UsageTopAccountResult> accounts) {
        setAccounts(accounts);
        return this;
    }
<p>
The accounts that contributed to the total usage cost.
</p>

@param accounts
       The accounts that contributed to the total usage cost.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UsageTopAccountsResult.java