public static final class CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder
extends java.lang.Object
CfnGatewayRoute.GrpcGatewayRouteActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGatewayRoute.GrpcGatewayRouteActionProperty |
build()
Builds the configured instance.
|
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder |
rewrite(CfnGatewayRoute.GrpcGatewayRouteRewriteProperty rewrite)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getRewrite() |
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder |
rewrite(IResolvable rewrite)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getRewrite() |
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder |
target(CfnGatewayRoute.GatewayRouteTargetProperty target)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getTarget() |
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder |
target(IResolvable target)
Sets the value of
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getTarget() |
public CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder target(IResolvable target)
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getTarget()
target
- An object that represents the target that traffic is routed to when a request matches the gateway route. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder target(CfnGatewayRoute.GatewayRouteTargetProperty target)
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getTarget()
target
- An object that represents the target that traffic is routed to when a request matches the gateway route. This parameter is required.this
public CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder rewrite(IResolvable rewrite)
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getRewrite()
rewrite
- The gateway route action to rewrite.this
public CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder rewrite(CfnGatewayRoute.GrpcGatewayRouteRewriteProperty rewrite)
CfnGatewayRoute.GrpcGatewayRouteActionProperty.getRewrite()
rewrite
- The gateway route action to rewrite.this
public CfnGatewayRoute.GrpcGatewayRouteActionProperty build()
CfnGatewayRoute.GrpcGatewayRouteActionProperty
java.lang.NullPointerException
- if any required attribute was not provided