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