Package com.pulumi.aws.cloudfront.inputs
Class MultitenantDistributionCustomErrorResponseArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.MultitenantDistributionCustomErrorResponseArgs.Builder
-
- Enclosing class:
- MultitenantDistributionCustomErrorResponseArgs
public static final class MultitenantDistributionCustomErrorResponseArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MultitenantDistributionCustomErrorResponseArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MultitenantDistributionCustomErrorResponseArgs defaults)
-
-
Method Detail
-
errorCachingMinTtl
public MultitenantDistributionCustomErrorResponseArgs.Builder errorCachingMinTtl(@Nullable com.pulumi.core.Output<java.lang.Integer> errorCachingMinTtl)
- Parameters:
errorCachingMinTtl- Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.- Returns:
- builder
-
errorCachingMinTtl
public MultitenantDistributionCustomErrorResponseArgs.Builder errorCachingMinTtl(java.lang.Integer errorCachingMinTtl)
- Parameters:
errorCachingMinTtl- Minimum amount of time that you want CloudFront to cache the HTTP status code specified in ErrorCode.- Returns:
- builder
-
errorCode
public MultitenantDistributionCustomErrorResponseArgs.Builder errorCode(com.pulumi.core.Output<java.lang.Integer> errorCode)
- Parameters:
errorCode- HTTP status code for which you want to specify a custom error page and/or a caching duration.- Returns:
- builder
-
errorCode
public MultitenantDistributionCustomErrorResponseArgs.Builder errorCode(java.lang.Integer errorCode)
- Parameters:
errorCode- HTTP status code for which you want to specify a custom error page and/or a caching duration.- Returns:
- builder
-
responseCode
public MultitenantDistributionCustomErrorResponseArgs.Builder responseCode(@Nullable com.pulumi.core.Output<java.lang.String> responseCode)
- Parameters:
responseCode- HTTP status code that you want CloudFront to return to the viewer along with the custom error page. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.- Returns:
- builder
-
responseCode
public MultitenantDistributionCustomErrorResponseArgs.Builder responseCode(java.lang.String responseCode)
- Parameters:
responseCode- HTTP status code that you want CloudFront to return to the viewer along with the custom error page. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.- Returns:
- builder
-
responsePagePath
public MultitenantDistributionCustomErrorResponseArgs.Builder responsePagePath(@Nullable com.pulumi.core.Output<java.lang.String> responsePagePath)
- Parameters:
responsePagePath- Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.- Returns:
- builder
-
responsePagePath
public MultitenantDistributionCustomErrorResponseArgs.Builder responsePagePath(java.lang.String responsePagePath)
- Parameters:
responsePagePath- Path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode. Both `responseCode` and `responsePagePath` must be specified or both must be omitted.- Returns:
- builder
-
build
public MultitenantDistributionCustomErrorResponseArgs build()
-
-