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