Class DistributionCustomErrorResponseArgs.Builder

    • Method Detail

      • errorCachingMinTtl

        public DistributionCustomErrorResponseArgs.Builder errorCachingMinTtl​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.Integer> errorCachingMinTtl)
        Parameters:
        errorCachingMinTtl - Minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.
        Returns:
        builder
      • errorCachingMinTtl

        public DistributionCustomErrorResponseArgs.Builder errorCachingMinTtl​(java.lang.Integer errorCachingMinTtl)
        Parameters:
        errorCachingMinTtl - Minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.
        Returns:
        builder
      • errorCode

        public DistributionCustomErrorResponseArgs.Builder errorCode​(com.pulumi.core.Output<java.lang.Integer> errorCode)
        Parameters:
        errorCode - 4xx or 5xx HTTP status code that you want to customize.
        Returns:
        builder
      • responseCode

        public DistributionCustomErrorResponseArgs.Builder responseCode​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Integer> responseCode)
        Parameters:
        responseCode - HTTP status code that you want CloudFront to return with the custom error page to the viewer.
        Returns:
        builder
      • responseCode

        public DistributionCustomErrorResponseArgs.Builder responseCode​(java.lang.Integer responseCode)
        Parameters:
        responseCode - HTTP status code that you want CloudFront to return with the custom error page to the viewer.
        Returns:
        builder
      • responsePagePath

        public DistributionCustomErrorResponseArgs.Builder responsePagePath​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> responsePagePath)
        Parameters:
        responsePagePath - Path of the custom error page (for example, `/custom_404.html`).
        Returns:
        builder
      • responsePagePath

        public DistributionCustomErrorResponseArgs.Builder responsePagePath​(java.lang.String responsePagePath)
        Parameters:
        responsePagePath - Path of the custom error page (for example, `/custom_404.html`).
        Returns:
        builder