public GetReservationUtilizationRequest withGranularity(String granularity) {
        setGranularity(granularity);
        return this;
    }
<p>
If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't set, the
response object doesn't include <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>. If
both <code>GroupBy</code> and <code>Granularity</code> aren't set, <code>GetReservationUtilization</code>
defaults to <code>DAILY</code>.
</p>
<p>
The <code>GetReservationUtilization</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code>
granularities.
</p>

@param granularity
       If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't
       set, the response object doesn't include <code>Granularity</code>, either <code>MONTHLY</code> or
       <code>DAILY</code>. If both <code>GroupBy</code> and <code>Granularity</code> aren't set,
       <code>GetReservationUtilization</code> defaults to <code>DAILY</code>.</p>
       <p>
       The <code>GetReservationUtilization</code> operation supports only <code>DAILY</code> and
       <code>MONTHLY</code> granularities.
@return Returns a reference to this object so that method calls can be chained together.
@see Granularity
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/GetReservationUtilizationRequest.java