Class CachePolicyState.Builder

  • Enclosing class:
    CachePolicyState

    public static final class CachePolicyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public CachePolicyState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The cache policy ARN.
        Returns:
        builder
      • arn

        public CachePolicyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The cache policy ARN.
        Returns:
        builder
      • comment

        public CachePolicyState.Builder comment​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> comment)
        Parameters:
        comment - Description for the cache policy.
        Returns:
        builder
      • comment

        public CachePolicyState.Builder comment​(java.lang.String comment)
        Parameters:
        comment - Description for the cache policy.
        Returns:
        builder
      • defaultTtl

        public CachePolicyState.Builder defaultTtl​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> defaultTtl)
        Parameters:
        defaultTtl - Amount of time, in seconds, that objects are allowed to remain in the CloudFront cache before CloudFront sends a new request to the origin server to check if the object has been updated.
        Returns:
        builder
      • defaultTtl

        public CachePolicyState.Builder defaultTtl​(java.lang.Integer defaultTtl)
        Parameters:
        defaultTtl - Amount of time, in seconds, that objects are allowed to remain in the CloudFront cache before CloudFront sends a new request to the origin server to check if the object has been updated.
        Returns:
        builder
      • etag

        public CachePolicyState.Builder etag​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Current version of the cache policy.
        Returns:
        builder
      • etag

        public CachePolicyState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Current version of the cache policy.
        Returns:
        builder
      • maxTtl

        public CachePolicyState.Builder maxTtl​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> maxTtl)
        Parameters:
        maxTtl - 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.
        Returns:
        builder
      • maxTtl

        public CachePolicyState.Builder maxTtl​(java.lang.Integer maxTtl)
        Parameters:
        maxTtl - 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.
        Returns:
        builder
      • minTtl

        public CachePolicyState.Builder minTtl​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> minTtl)
        Parameters:
        minTtl - Minimum amount of time, in seconds, that objects should remain in the CloudFront cache before a new request is sent to the origin to check for updates.
        Returns:
        builder
      • minTtl

        public CachePolicyState.Builder minTtl​(java.lang.Integer minTtl)
        Parameters:
        minTtl - Minimum amount of time, in seconds, that objects should remain in the CloudFront cache before a new request is sent to the origin to check for updates.
        Returns:
        builder
      • name

        public CachePolicyState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique name used to identify the cache policy.
        Returns:
        builder
      • name

        public CachePolicyState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name used to identify the cache policy.
        Returns:
        builder
      • parametersInCacheKeyAndForwardedToOrigin

        public CachePolicyState.Builder parametersInCacheKeyAndForwardedToOrigin​(@Nullable
                                                                                 com.pulumi.core.Output<CachePolicyParametersInCacheKeyAndForwardedToOriginArgs> parametersInCacheKeyAndForwardedToOrigin)
        Parameters:
        parametersInCacheKeyAndForwardedToOrigin - Configuration for including HTTP headers, cookies, and URL query strings in the cache key. For more information, refer to the Parameters In Cache Key And Forwarded To Origin section.
        Returns:
        builder
      • parametersInCacheKeyAndForwardedToOrigin

        public CachePolicyState.Builder parametersInCacheKeyAndForwardedToOrigin​(CachePolicyParametersInCacheKeyAndForwardedToOriginArgs parametersInCacheKeyAndForwardedToOrigin)
        Parameters:
        parametersInCacheKeyAndForwardedToOrigin - Configuration for including HTTP headers, cookies, and URL query strings in the cache key. For more information, refer to the Parameters In Cache Key And Forwarded To Origin section.
        Returns:
        builder