Package com.pulumi.aws.cloudfront.inputs
Class DistributionCustomErrorResponseArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.DistributionCustomErrorResponseArgs.Builder
-
- Enclosing class:
- DistributionCustomErrorResponseArgs
public static final class DistributionCustomErrorResponseArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DistributionCustomErrorResponseArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributionCustomErrorResponseArgsbuild()DistributionCustomErrorResponseArgs.BuildererrorCachingMinTtl(com.pulumi.core.Output<java.lang.Integer> errorCachingMinTtl)DistributionCustomErrorResponseArgs.BuildererrorCachingMinTtl(java.lang.Integer errorCachingMinTtl)DistributionCustomErrorResponseArgs.BuildererrorCode(com.pulumi.core.Output<java.lang.Integer> errorCode)DistributionCustomErrorResponseArgs.BuildererrorCode(java.lang.Integer errorCode)DistributionCustomErrorResponseArgs.BuilderresponseCode(com.pulumi.core.Output<java.lang.Integer> responseCode)DistributionCustomErrorResponseArgs.BuilderresponseCode(java.lang.Integer responseCode)DistributionCustomErrorResponseArgs.BuilderresponsePagePath(com.pulumi.core.Output<java.lang.String> responsePagePath)DistributionCustomErrorResponseArgs.BuilderresponsePagePath(java.lang.String responsePagePath)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DistributionCustomErrorResponseArgs defaults)
-
-
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
-
errorCode
public DistributionCustomErrorResponseArgs.Builder errorCode(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
-
build
public DistributionCustomErrorResponseArgs build()
-
-