public MethodSetting withCachingEnabled(Boolean cachingEnabled) {
        setCachingEnabled(cachingEnabled);
        return this;
    }
<p>
Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the
stage for responses to be cached.
</p>

@param cachingEnabled
       Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on
       the stage for responses to be cached.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/MethodSetting.java