Class CfnRulePropsMixin.HttpMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnRulePropsMixin.HttpMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin.HttpMatchProperty>
- Enclosing interface:
CfnRulePropsMixin.HttpMatchProperty
@Stability(Stable)
public static final class CfnRulePropsMixin.HttpMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin.HttpMatchProperty>
A builder for
CfnRulePropsMixin.HttpMatchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.headerMatches(List<? extends Object> headerMatches) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getHeaderMatches()headerMatches(IResolvable headerMatches) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getHeaderMatches()Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getMethod()pathMatch(CfnRulePropsMixin.PathMatchProperty pathMatch) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getPathMatch()pathMatch(IResolvable pathMatch) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getPathMatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
headerMatches
@Stability(Stable) public CfnRulePropsMixin.HttpMatchProperty.Builder headerMatches(IResolvable headerMatches) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getHeaderMatches()- Parameters:
headerMatches- The header matches. Matches incoming requests with rule based on request header value before applying rule action.- Returns:
this
-
headerMatches
@Stability(Stable) public CfnRulePropsMixin.HttpMatchProperty.Builder headerMatches(List<? extends Object> headerMatches) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getHeaderMatches()- Parameters:
headerMatches- The header matches. Matches incoming requests with rule based on request header value before applying rule action.- Returns:
this
-
method
Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getMethod()- Parameters:
method- The HTTP method type.- Returns:
this
-
pathMatch
@Stability(Stable) public CfnRulePropsMixin.HttpMatchProperty.Builder pathMatch(IResolvable pathMatch) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getPathMatch()- Parameters:
pathMatch- The path match.- Returns:
this
-
pathMatch
@Stability(Stable) public CfnRulePropsMixin.HttpMatchProperty.Builder pathMatch(CfnRulePropsMixin.PathMatchProperty pathMatch) Sets the value ofCfnRulePropsMixin.HttpMatchProperty.getPathMatch()- Parameters:
pathMatch- The path match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin.HttpMatchProperty>- Returns:
- a new instance of
CfnRulePropsMixin.HttpMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-