public void setGranularity(RateLimitingGranularity granularity) {
        this.granularity = granularity;
    }
@param granularity the granularity to set
gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/config/RateLimitingConfig.java