public ListUsageTotalsResult withTotals(java.util.Collection<UsageTotal> totals) {
        setTotals(totals);
        return this;
    }
<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.
@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/ListUsageTotalsResult.java