@Stability(value=Stable) public static final class CfnRouteProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRouteProps>
CfnRouteProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRouteProps |
build()
Builds the configured instance.
|
CfnRouteProps.Builder |
meshName(String meshName)
Sets the value of
CfnRouteProps.getMeshName() |
CfnRouteProps.Builder |
meshOwner(String meshOwner)
Sets the value of
CfnRouteProps.getMeshOwner() |
CfnRouteProps.Builder |
routeName(String routeName)
Sets the value of
CfnRouteProps.getRouteName() |
CfnRouteProps.Builder |
spec(CfnRoute.RouteSpecProperty spec)
Sets the value of
CfnRouteProps.getSpec() |
CfnRouteProps.Builder |
spec(IResolvable spec)
Sets the value of
CfnRouteProps.getSpec() |
CfnRouteProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnRouteProps.getTags() |
CfnRouteProps.Builder |
virtualRouterName(String virtualRouterName)
Sets the value of
CfnRouteProps.getVirtualRouterName() |
@Stability(value=Stable) public CfnRouteProps.Builder meshName(String meshName)
CfnRouteProps.getMeshName()meshName - The name of the service mesh to create the route in. This parameter is required.this@Stability(value=Stable) public CfnRouteProps.Builder spec(CfnRoute.RouteSpecProperty spec)
CfnRouteProps.getSpec()spec - The route specification to apply. This parameter is required.this@Stability(value=Stable) public CfnRouteProps.Builder spec(IResolvable spec)
CfnRouteProps.getSpec()spec - The route specification to apply. This parameter is required.this@Stability(value=Stable) public CfnRouteProps.Builder virtualRouterName(String virtualRouterName)
CfnRouteProps.getVirtualRouterName()virtualRouterName - The name of the virtual router in which to create the route. This parameter is required.
If the virtual router is in a shared mesh, then you must be the owner of the virtual router resource.this@Stability(value=Stable) public CfnRouteProps.Builder meshOwner(String meshOwner)
CfnRouteProps.getMeshOwner()meshOwner - The AWS IAM account ID of the service mesh owner.
If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes .this@Stability(value=Stable) public CfnRouteProps.Builder routeName(String routeName)
CfnRouteProps.getRouteName()routeName - The name to use for the route.this@Stability(value=Stable) public CfnRouteProps.Builder tags(List<? extends CfnTag> tags)
CfnRouteProps.getTags()tags - Optional metadata that you can apply to the route to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.this@Stability(value=Stable) public CfnRouteProps build()
build in interface software.amazon.jsii.Builder<CfnRouteProps>CfnRoutePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.