public void setUsage(java.util.Collection<UsageByAccount> usage) {
        if (usage == null) {
            this.usage = null;
            return;
        }

        this.usage = new java.util.ArrayList<UsageByAccount>(usage);
    }
<p>
An array of objects that contains usage data and quotas for the account. Each object contains the data for a
specific usage metric and the corresponding quota.
</p>

@param usage
       An array of objects that contains usage data and quotas for the account. Each object contains the data for
       a specific usage metric and the corresponding quota.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/UsageRecord.java