public void setTotals(java.util.Collection<UsageTotal> totals) {
        if (totals == null) {
            this.totals = null;
            return;
        }

        this.totals = new java.util.ArrayList<UsageTotal>(totals);
    }
<p>
An object with details on the total usage for the requested account.
</p>

@param totals
       An object with details on the total usage for the requested account.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListUsageTotalsResult.java