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