Class CfnRulePropsMixin.HeaderMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnRulePropsMixin.HeaderMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.HeaderMatchProperty>
- Enclosing interface:
CfnRulePropsMixin.HeaderMatchProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.HeaderMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.HeaderMatchProperty>
A builder for
CfnRulePropsMixin.HeaderMatchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.caseSensitive(Boolean caseSensitive) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getCaseSensitive()caseSensitive(IResolvable caseSensitive) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getCaseSensitive()Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getMatch()match(IResolvable match) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getMatch()Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caseSensitive
@Stability(Stable) public CfnRulePropsMixin.HeaderMatchProperty.Builder caseSensitive(Boolean caseSensitive) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getCaseSensitive()- Parameters:
caseSensitive- Indicates whether the match is case sensitive.- Returns:
this
-
caseSensitive
@Stability(Stable) public CfnRulePropsMixin.HeaderMatchProperty.Builder caseSensitive(IResolvable caseSensitive) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getCaseSensitive()- Parameters:
caseSensitive- Indicates whether the match is case sensitive.- Returns:
this
-
match
Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getMatch()- Parameters:
match- The header match type.- Returns:
this
-
match
@Stability(Stable) public CfnRulePropsMixin.HeaderMatchProperty.Builder match(CfnRulePropsMixin.HeaderMatchTypeProperty match) Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getMatch()- Parameters:
match- The header match type.- Returns:
this
-
name
Sets the value ofCfnRulePropsMixin.HeaderMatchProperty.getName()- Parameters:
name- The name of the header.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.HeaderMatchProperty>- Returns:
- a new instance of
CfnRulePropsMixin.HeaderMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-