Package com.pulumi.aws.cloudfront.inputs
Class OriginRequestPolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.OriginRequestPolicyState.Builder
-
- Enclosing class:
- OriginRequestPolicyState
public static final class OriginRequestPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(OriginRequestPolicyState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(OriginRequestPolicyState defaults)
-
-
Method Detail
-
comment
public OriginRequestPolicyState.Builder comment(@Nullable com.pulumi.core.Output<java.lang.String> comment)
- Parameters:
comment
- Comment to describe the origin request policy.- Returns:
- builder
-
comment
public OriginRequestPolicyState.Builder comment(java.lang.String comment)
- Parameters:
comment
- Comment to describe the origin request policy.- Returns:
- builder
-
cookiesConfig
public OriginRequestPolicyState.Builder cookiesConfig(@Nullable com.pulumi.core.Output<OriginRequestPolicyCookiesConfigArgs> cookiesConfig)
- Parameters:
cookiesConfig
- Object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Cookies Config for more information.- Returns:
- builder
-
cookiesConfig
public OriginRequestPolicyState.Builder cookiesConfig(OriginRequestPolicyCookiesConfigArgs cookiesConfig)
- Parameters:
cookiesConfig
- Object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Cookies Config for more information.- Returns:
- builder
-
etag
public OriginRequestPolicyState.Builder etag(@Nullable com.pulumi.core.Output<java.lang.String> etag)
- Parameters:
etag
- The current version of the origin request policy.- Returns:
- builder
-
etag
public OriginRequestPolicyState.Builder etag(java.lang.String etag)
- Parameters:
etag
- The current version of the origin request policy.- Returns:
- builder
-
headersConfig
public OriginRequestPolicyState.Builder headersConfig(@Nullable com.pulumi.core.Output<OriginRequestPolicyHeadersConfigArgs> headersConfig)
- Parameters:
headersConfig
- Object that determines whether any HTTP headers (and if so, which headers) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Headers Config for more information.- Returns:
- builder
-
headersConfig
public OriginRequestPolicyState.Builder headersConfig(OriginRequestPolicyHeadersConfigArgs headersConfig)
- Parameters:
headersConfig
- Object that determines whether any HTTP headers (and if so, which headers) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Headers Config for more information.- Returns:
- builder
-
name
public OriginRequestPolicyState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Unique name to identify the origin request policy.- Returns:
- builder
-
name
public OriginRequestPolicyState.Builder name(java.lang.String name)
- Parameters:
name
- Unique name to identify the origin request policy.- Returns:
- builder
-
queryStringsConfig
public OriginRequestPolicyState.Builder queryStringsConfig(@Nullable com.pulumi.core.Output<OriginRequestPolicyQueryStringsConfigArgs> queryStringsConfig)
- Parameters:
queryStringsConfig
- Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.- Returns:
- builder
-
queryStringsConfig
public OriginRequestPolicyState.Builder queryStringsConfig(OriginRequestPolicyQueryStringsConfigArgs queryStringsConfig)
- Parameters:
queryStringsConfig
- Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.- Returns:
- builder
-
build
public OriginRequestPolicyState build()
-
-