public GetCachePolicyResult withCachePolicy(CachePolicy cachePolicy) {
        setCachePolicy(cachePolicy);
        return this;
    }
<p>
The cache policy.
</p>

@param cachePolicy
       The cache policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/GetCachePolicyResult.java