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