@Stability(value=Stable) public static final class CfnVirtualRouterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVirtualRouterProps>
CfnVirtualRouterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVirtualRouterProps |
build()
Builds the configured instance.
|
CfnVirtualRouterProps.Builder |
meshName(String meshName)
Sets the value of
CfnVirtualRouterProps.getMeshName() |
CfnVirtualRouterProps.Builder |
meshOwner(String meshOwner)
Sets the value of
CfnVirtualRouterProps.getMeshOwner() |
CfnVirtualRouterProps.Builder |
spec(CfnVirtualRouter.VirtualRouterSpecProperty spec)
Sets the value of
CfnVirtualRouterProps.getSpec() |
CfnVirtualRouterProps.Builder |
spec(IResolvable spec)
Sets the value of
CfnVirtualRouterProps.getSpec() |
CfnVirtualRouterProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnVirtualRouterProps.getTags() |
CfnVirtualRouterProps.Builder |
virtualRouterName(String virtualRouterName)
Sets the value of
CfnVirtualRouterProps.getVirtualRouterName() |
@Stability(value=Stable) public CfnVirtualRouterProps.Builder meshName(String meshName)
CfnVirtualRouterProps.getMeshName()meshName - The name of the service mesh to create the virtual router in. This parameter is required.this@Stability(value=Stable) public CfnVirtualRouterProps.Builder spec(CfnVirtualRouter.VirtualRouterSpecProperty spec)
CfnVirtualRouterProps.getSpec()spec - The virtual router specification to apply. This parameter is required.this@Stability(value=Stable) public CfnVirtualRouterProps.Builder spec(IResolvable spec)
CfnVirtualRouterProps.getSpec()spec - The virtual router specification to apply. This parameter is required.this@Stability(value=Stable) public CfnVirtualRouterProps.Builder meshOwner(String meshOwner)
CfnVirtualRouterProps.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 CfnVirtualRouterProps.Builder tags(List<? extends CfnTag> tags)
CfnVirtualRouterProps.getTags()tags - Optional metadata that you can apply to the virtual router 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 CfnVirtualRouterProps.Builder virtualRouterName(String virtualRouterName)
CfnVirtualRouterProps.getVirtualRouterName()virtualRouterName - The name to use for the virtual router.this@Stability(value=Stable) public CfnVirtualRouterProps build()
build in interface software.amazon.jsii.Builder<CfnVirtualRouterProps>CfnVirtualRouterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.