Package com.pulumi.aws.cloudfront.inputs
Class MultitenantDistributionDefaultCacheBehaviorArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.MultitenantDistributionDefaultCacheBehaviorArgs.Builder
-
- Enclosing class:
- MultitenantDistributionDefaultCacheBehaviorArgs
public static final class MultitenantDistributionDefaultCacheBehaviorArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MultitenantDistributionDefaultCacheBehaviorArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MultitenantDistributionDefaultCacheBehaviorArgs defaults)
-
-
Method Detail
-
allowedMethods
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder allowedMethods(com.pulumi.core.Output<MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs> allowedMethods)
- Parameters:
allowedMethods- Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.- Returns:
- builder
-
allowedMethods
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder allowedMethods(MultitenantDistributionDefaultCacheBehaviorAllowedMethodsArgs allowedMethods)
- Parameters:
allowedMethods- Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.- Returns:
- builder
-
cachePolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder cachePolicyId(@Nullable com.pulumi.core.Output<java.lang.String> cachePolicyId)
- Parameters:
cachePolicyId- Unique identifier of the cache policy that is attached to the cache behavior.- Returns:
- builder
-
cachePolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder cachePolicyId(java.lang.String cachePolicyId)
- Parameters:
cachePolicyId- Unique identifier of the cache policy that is attached to the cache behavior.- Returns:
- builder
-
compress
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder compress(@Nullable com.pulumi.core.Output<java.lang.Boolean> compress)
- Parameters:
compress- Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header. Default: `false`.- Returns:
- builder
-
compress
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder compress(java.lang.Boolean compress)
- Parameters:
compress- Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header. Default: `false`.- Returns:
- builder
-
fieldLevelEncryptionId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder fieldLevelEncryptionId(@Nullable com.pulumi.core.Output<java.lang.String> fieldLevelEncryptionId)
- Parameters:
fieldLevelEncryptionId- Field level encryption configuration ID.- Returns:
- builder
-
fieldLevelEncryptionId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder fieldLevelEncryptionId(java.lang.String fieldLevelEncryptionId)
- Parameters:
fieldLevelEncryptionId- Field level encryption configuration ID.- Returns:
- builder
-
functionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder functionAssociations(@Nullable com.pulumi.core.Output<java.util.List<MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs>> functionAssociations)
- Parameters:
functionAssociations- Configuration block for CloudFront Functions associations. See Function Association below.- Returns:
- builder
-
functionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder functionAssociations(java.util.List<MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs> functionAssociations)
- Parameters:
functionAssociations- Configuration block for CloudFront Functions associations. See Function Association below.- Returns:
- builder
-
functionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder functionAssociations(MultitenantDistributionDefaultCacheBehaviorFunctionAssociationArgs... functionAssociations)
- Parameters:
functionAssociations- Configuration block for CloudFront Functions associations. See Function Association below.- Returns:
- builder
-
lambdaFunctionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder lambdaFunctionAssociations(@Nullable com.pulumi.core.Output<java.util.List<MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs>> lambdaFunctionAssociations)
- Parameters:
lambdaFunctionAssociations- Configuration block for Lambda@Edge associations. See Lambda Function Association below.- Returns:
- builder
-
lambdaFunctionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder lambdaFunctionAssociations(java.util.List<MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs> lambdaFunctionAssociations)
- Parameters:
lambdaFunctionAssociations- Configuration block for Lambda@Edge associations. See Lambda Function Association below.- Returns:
- builder
-
lambdaFunctionAssociations
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder lambdaFunctionAssociations(MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs... lambdaFunctionAssociations)
- Parameters:
lambdaFunctionAssociations- Configuration block for Lambda@Edge associations. See Lambda Function Association below.- Returns:
- builder
-
originRequestPolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder originRequestPolicyId(@Nullable com.pulumi.core.Output<java.lang.String> originRequestPolicyId)
- Parameters:
originRequestPolicyId- Unique identifier of the origin request policy that is attached to the behavior.- Returns:
- builder
-
originRequestPolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder originRequestPolicyId(java.lang.String originRequestPolicyId)
- Parameters:
originRequestPolicyId- Unique identifier of the origin request policy that is attached to the behavior.- Returns:
- builder
-
realtimeLogConfigArn
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder realtimeLogConfigArn(@Nullable com.pulumi.core.Output<java.lang.String> realtimeLogConfigArn)
- Parameters:
realtimeLogConfigArn- ARN of the real-time log configuration that is attached to this cache behavior.- Returns:
- builder
-
realtimeLogConfigArn
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder realtimeLogConfigArn(java.lang.String realtimeLogConfigArn)
- Parameters:
realtimeLogConfigArn- ARN of the real-time log configuration that is attached to this cache behavior.- Returns:
- builder
-
responseHeadersPolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder responseHeadersPolicyId(@Nullable com.pulumi.core.Output<java.lang.String> responseHeadersPolicyId)
- Parameters:
responseHeadersPolicyId- Identifier for a response headers policy.- Returns:
- builder
-
responseHeadersPolicyId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder responseHeadersPolicyId(java.lang.String responseHeadersPolicyId)
- Parameters:
responseHeadersPolicyId- Identifier for a response headers policy.- Returns:
- builder
-
targetOriginId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder targetOriginId(com.pulumi.core.Output<java.lang.String> targetOriginId)
- Parameters:
targetOriginId- Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.- Returns:
- builder
-
targetOriginId
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder targetOriginId(java.lang.String targetOriginId)
- Parameters:
targetOriginId- Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.- Returns:
- builder
-
trustedKeyGroups
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder trustedKeyGroups(@Nullable com.pulumi.core.Output<MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs> trustedKeyGroups)
- Parameters:
trustedKeyGroups- List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.- Returns:
- builder
-
trustedKeyGroups
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder trustedKeyGroups(MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroupsArgs trustedKeyGroups)
- Parameters:
trustedKeyGroups- List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.- Returns:
- builder
-
viewerProtocolPolicy
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder viewerProtocolPolicy(com.pulumi.core.Output<java.lang.String> viewerProtocolPolicy)
- Parameters:
viewerProtocolPolicy- Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.- Returns:
- builder
-
viewerProtocolPolicy
public MultitenantDistributionDefaultCacheBehaviorArgs.Builder viewerProtocolPolicy(java.lang.String viewerProtocolPolicy)
- Parameters:
viewerProtocolPolicy- Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.- Returns:
- builder
-
build
public MultitenantDistributionDefaultCacheBehaviorArgs build()
-
-