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