code: public ResultByTime withTotal(java.util.Map<String, MetricValue> total) {
          setTotal(total);
          return this;
      }
docs: <p>
  The total amount of cost or usage accrued during the time period.
  </p>
  
  @param total
  The total amount of cost or usage accrued during the time period.
  @return Returns a reference to this object so that method calls can be chained together.