@Stability(value=Stable) public static final class CfnRoute.HttpRouteActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.HttpRouteActionProperty>
CfnRoute.HttpRouteActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRoute.HttpRouteActionProperty |
build()
Builds the configured instance.
|
CfnRoute.HttpRouteActionProperty.Builder |
weightedTargets(IResolvable weightedTargets)
Sets the value of
CfnRoute.HttpRouteActionProperty.getWeightedTargets() |
CfnRoute.HttpRouteActionProperty.Builder |
weightedTargets(List<? extends Object> weightedTargets)
Sets the value of
CfnRoute.HttpRouteActionProperty.getWeightedTargets() |
@Stability(value=Stable) public CfnRoute.HttpRouteActionProperty.Builder weightedTargets(IResolvable weightedTargets)
CfnRoute.HttpRouteActionProperty.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.HttpRouteActionProperty.Builder weightedTargets(List<? extends Object> weightedTargets)
CfnRoute.HttpRouteActionProperty.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.HttpRouteActionProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.HttpRouteActionProperty>CfnRoute.HttpRouteActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.