Class CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty>
- Enclosing interface:
- CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty
@Stability(Stable)
public static final class CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.getItems()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
items
@Stability(Stable) public CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder items(List<String> items) Sets the value ofCfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.getItems()
- Parameters:
items
- The list of HTTP header names. This parameter is required. You can specify*
to allow all headers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty>
- Returns:
- a new instance of
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-