Class CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty>
- Enclosing interface:
CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
@Stability(Stable)
public static final class CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
header
@Stability(Stable) public CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder header(String header) - Parameters:
header
- The name of the HTTP header that CloudFront uses to configure for the single header policy. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty.Builder value(String value) - Parameters:
value
- Specifies the value to assign to the header for a single header policy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty>
- Returns:
- a new instance of
CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-