Class CfnRule.MatchProperty.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnRule.MatchProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnRule.MatchProperty>
- Enclosing interface:
 - CfnRule.MatchProperty
 
@Stability(Stable)
public static final class CfnRule.MatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.MatchProperty>
A builder for 
CfnRule.MatchProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.httpMatch(IResolvable httpMatch) Sets the value ofCfnRule.MatchProperty.getHttpMatch()httpMatch(CfnRule.HttpMatchProperty httpMatch) Sets the value ofCfnRule.MatchProperty.getHttpMatch() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
httpMatch
Sets the value ofCfnRule.MatchProperty.getHttpMatch()- Parameters:
 httpMatch- The HTTP criteria that a rule must match. This parameter is required.- Returns:
 this
 - 
httpMatch
@Stability(Stable) public CfnRule.MatchProperty.Builder httpMatch(CfnRule.HttpMatchProperty httpMatch) Sets the value ofCfnRule.MatchProperty.getHttpMatch()- Parameters:
 httpMatch- The HTTP criteria that a rule must match. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnRule.MatchProperty>- Returns:
 - a new instance of 
CfnRule.MatchProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -