@Stability(value=Stable) public static final class CfnResponseHeadersPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnResponseHeadersPolicyProps>
CfnResponseHeadersPolicyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResponseHeadersPolicyProps |
build()
Builds the configured instance.
|
CfnResponseHeadersPolicyProps.Builder |
responseHeadersPolicyConfig(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty responseHeadersPolicyConfig)
Sets the value of
CfnResponseHeadersPolicyProps.getResponseHeadersPolicyConfig() |
CfnResponseHeadersPolicyProps.Builder |
responseHeadersPolicyConfig(IResolvable responseHeadersPolicyConfig)
Sets the value of
CfnResponseHeadersPolicyProps.getResponseHeadersPolicyConfig() |
@Stability(value=Stable) public CfnResponseHeadersPolicyProps.Builder responseHeadersPolicyConfig(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty responseHeadersPolicyConfig)
CfnResponseHeadersPolicyProps.getResponseHeadersPolicyConfig()responseHeadersPolicyConfig - A response headers policy configuration. This parameter is required.
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.this@Stability(value=Stable) public CfnResponseHeadersPolicyProps.Builder responseHeadersPolicyConfig(IResolvable responseHeadersPolicyConfig)
CfnResponseHeadersPolicyProps.getResponseHeadersPolicyConfig()responseHeadersPolicyConfig - A response headers policy configuration. This parameter is required.
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.this@Stability(value=Stable) public CfnResponseHeadersPolicyProps build()
build in interface software.amazon.jsii.Builder<CfnResponseHeadersPolicyProps>CfnResponseHeadersPolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.