Class CfnGatewayRoute.QueryParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.QueryParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute.QueryParameterProperty>
- Enclosing interface:
CfnGatewayRoute.QueryParameterProperty
@Stability(Stable)
public static final class CfnGatewayRoute.QueryParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute.QueryParameterProperty>
A builder for
CfnGatewayRoute.QueryParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.match
(IResolvable match) Sets the value ofCfnGatewayRoute.QueryParameterProperty.getMatch()
Sets the value ofCfnGatewayRoute.QueryParameterProperty.getMatch()
Sets the value ofCfnGatewayRoute.QueryParameterProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnGatewayRoute.QueryParameterProperty.getName()
- Parameters:
name
- A name for the query parameter that will be matched on. This parameter is required.- Returns:
this
-
match
Sets the value ofCfnGatewayRoute.QueryParameterProperty.getMatch()
- Parameters:
match
- The query parameter to match on.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoute.QueryParameterProperty.Builder match(CfnGatewayRoute.HttpQueryParameterMatchProperty match) Sets the value ofCfnGatewayRoute.QueryParameterProperty.getMatch()
- Parameters:
match
- The query parameter to match on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute.QueryParameterProperty>
- Returns:
- a new instance of
CfnGatewayRoute.QueryParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-