Class HeaderMatchConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.HeaderMatchConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HeaderMatchConfig>
- Enclosing interface:
- HeaderMatchConfig
@Stability(Stable)
public static final class HeaderMatchConfig.Builder
extends Object
implements software.amazon.jsii.Builder<HeaderMatchConfig>
A builder for
HeaderMatchConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.headerMatch(CfnRoute.HttpRouteHeaderProperty headerMatch) Sets the value ofHeaderMatchConfig.getHeaderMatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
headerMatch
@Stability(Stable) public HeaderMatchConfig.Builder headerMatch(CfnRoute.HttpRouteHeaderProperty headerMatch) Sets the value ofHeaderMatchConfig.getHeaderMatch()- Parameters:
headerMatch- Route CFN configuration for the route header match. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HeaderMatchConfig>- Returns:
- a new instance of
HeaderMatchConfig - Throws:
NullPointerException- if any required attribute was not provided
-