Class CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty>
- Enclosing interface:
CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty
@Stability(Stable)
public static final class CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.items(IResolvable items)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
items
@Stability(Stable) public CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder items(IResolvable items) - Parameters:
items- The list of HTTP response headers and their values.- Returns:
this
-
items
@Stability(Stable) public CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty.Builder items(List<? extends Object> items) - Parameters:
items- The list of HTTP response headers and their values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty>- Returns:
- a new instance of
CfnResponseHeadersPolicyPropsMixin.CustomHeadersConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-