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