public MethodSetting withRequireAuthorizationForCacheControl(Boolean requireAuthorizationForCacheControl) {
        setRequireAuthorizationForCacheControl(requireAuthorizationForCacheControl);
        return this;
    }
<p>
Specifies whether authorization is required for a cache invalidation request.
</p>

@param requireAuthorizationForCacheControl
       Specifies whether authorization is required for a cache invalidation request.
@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