Class DistributionCacheBehaviorSettings


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

      • allowedHttpMethods

        public java.util.Optional<java.lang.String> allowedHttpMethods()
        Returns:
        HTTP methods that are processed and forwarded to the distribution's origin.
      • cachedHttpMethods

        public java.util.Optional<java.lang.String> cachedHttpMethods()
        Returns:
        HTTP method responses that are cached by your distribution.
      • defaultTtl

        public java.util.Optional<java.lang.Integer> defaultTtl()
        Returns:
        Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.
      • maximumTtl

        public java.util.Optional<java.lang.Integer> maximumTtl()
        Returns:
        Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.
      • minimumTtl

        public java.util.Optional<java.lang.Integer> minimumTtl()
        Returns:
        Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.