Class CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty>
- Enclosing interface:
CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty
@Stability(Stable)
public static final class CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty>
A builder for
CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getAction()action(IResolvable action) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getAction()build()Builds the configured instance.Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getMatch()match(IResolvable match) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getMatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder action(IResolvable action) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getAction()- Parameters:
action- An object that represents the action to take if a match is determined.- Returns:
this
-
action
@Stability(Stable) public CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder action(CfnGatewayRoutePropsMixin.GrpcGatewayRouteActionProperty action) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getAction()- Parameters:
action- An object that represents the action to take if a match is determined.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder match(IResolvable match) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getMatch()- Parameters:
match- An object that represents the criteria for determining a request match.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.Builder match(CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty match) Sets the value ofCfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty.getMatch()- Parameters:
match- An object that represents the criteria for determining a request match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty>- Returns:
- a new instance of
CfnGatewayRoutePropsMixin.GrpcGatewayRouteProperty - Throws:
NullPointerException- if any required attribute was not provided
-