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