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