Package com.pulumi.aws.cloudfront.inputs
Class ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
-
- Enclosing class:
- ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs
public static final class ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs
build()
ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
override(com.pulumi.core.Output<java.lang.Boolean> override)
ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
override(java.lang.Boolean override)
ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
referrerPolicy(com.pulumi.core.Output<java.lang.String> referrerPolicy)
ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder
referrerPolicy(java.lang.String referrerPolicy)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs defaults)
-
-
Method Detail
-
override
public ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder override(com.pulumi.core.Output<java.lang.Boolean> override)
- Parameters:
override
- Whether CloudFront overrides the `Referrer-Policy` HTTP response header received from the origin with the one specified in this response headers policy.- Returns:
- builder
-
override
public ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder override(java.lang.Boolean override)
- Parameters:
override
- Whether CloudFront overrides the `Referrer-Policy` HTTP response header received from the origin with the one specified in this response headers policy.- Returns:
- builder
-
referrerPolicy
public ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder referrerPolicy(com.pulumi.core.Output<java.lang.String> referrerPolicy)
- Parameters:
referrerPolicy
- The value of the `Referrer-Policy` HTTP response header. Valid Values: `no-referrer` | `no-referrer-when-downgrade` | `origin` | `origin-when-cross-origin` | `same-origin` | `strict-origin` | `strict-origin-when-cross-origin` | `unsafe-url`- Returns:
- builder
-
referrerPolicy
public ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs.Builder referrerPolicy(java.lang.String referrerPolicy)
- Parameters:
referrerPolicy
- The value of the `Referrer-Policy` HTTP response header. Valid Values: `no-referrer` | `no-referrer-when-downgrade` | `origin` | `origin-when-cross-origin` | `same-origin` | `strict-origin` | `strict-origin-when-cross-origin` | `unsafe-url`- Returns:
- builder
-
build
public ResponseHeadersPolicySecurityHeadersConfigReferrerPolicyArgs build()
-
-