Class GetCachePolicyResult


  • public final class GetCachePolicyResult
    extends java.lang.Object
    • Method Detail

      • arn

        public java.lang.String arn()
        Returns:
        The cache policy ARN.
      • comment

        public java.lang.String comment()
        Returns:
        Comment to describe the cache policy.
      • defaultTtl

        public java.lang.Integer defaultTtl()
        Returns:
        Default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • etag

        public java.lang.String etag()
        Returns:
        Current version of the cache policy.
      • id

        public java.util.Optional<java.lang.String> id()
      • maxTtl

        public java.lang.Integer maxTtl()
        Returns:
        Maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • minTtl

        public java.lang.Integer minTtl()
        Returns:
        Minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • name

        public java.util.Optional<java.lang.String> name()
      • parametersInCacheKeyAndForwardedToOrigins

        public java.util.List<GetCachePolicyParametersInCacheKeyAndForwardedToOrigin> parametersInCacheKeyAndForwardedToOrigins()
        Returns:
        The HTTP headers, cookies, and URL query strings to include in the cache key. See Parameters In Cache Key And Forwarded To Origin for more information.