@Stability(value=Stable) public static final class CfnRoute.GrpcRouteActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.GrpcRouteActionProperty>
CfnRoute.GrpcRouteActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRoute.GrpcRouteActionProperty |
build()
Builds the configured instance.
|
CfnRoute.GrpcRouteActionProperty.Builder |
weightedTargets(IResolvable weightedTargets)
Sets the value of
CfnRoute.GrpcRouteActionProperty.getWeightedTargets() |
CfnRoute.GrpcRouteActionProperty.Builder |
weightedTargets(List<? extends Object> weightedTargets)
Sets the value of
CfnRoute.GrpcRouteActionProperty.getWeightedTargets() |
@Stability(value=Stable) public CfnRoute.GrpcRouteActionProperty.Builder weightedTargets(IResolvable weightedTargets)
CfnRoute.GrpcRouteActionProperty.getWeightedTargets()weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route. This parameter is required.this@Stability(value=Stable) public CfnRoute.GrpcRouteActionProperty.Builder weightedTargets(List<? extends Object> weightedTargets)
CfnRoute.GrpcRouteActionProperty.getWeightedTargets()weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route. This parameter is required.this@Stability(value=Stable) public CfnRoute.GrpcRouteActionProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.GrpcRouteActionProperty>CfnRoute.GrpcRouteActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.