@Stability(value=Stable) public static final class VirtualRouterProps.Builder extends Object implements software.amazon.jsii.Builder<VirtualRouterProps>
VirtualRouterProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualRouterProps |
build()
Builds the configured instance.
|
VirtualRouterProps.Builder |
listeners(List<? extends VirtualRouterListener> listeners)
Sets the value of
VirtualRouterBaseProps.getListeners() |
VirtualRouterProps.Builder |
mesh(IMesh mesh)
Sets the value of
VirtualRouterProps.getMesh() |
VirtualRouterProps.Builder |
virtualRouterName(String virtualRouterName)
Sets the value of
VirtualRouterBaseProps.getVirtualRouterName() |
@Stability(value=Stable) public VirtualRouterProps.Builder mesh(IMesh mesh)
VirtualRouterProps.getMesh()
mesh
- The Mesh which the VirtualRouter belongs to. This parameter is required.this
@Stability(value=Stable) public VirtualRouterProps.Builder listeners(List<? extends VirtualRouterListener> listeners)
VirtualRouterBaseProps.getListeners()
listeners
- Listener specification for the VirtualRouter.this
@Stability(value=Stable) public VirtualRouterProps.Builder virtualRouterName(String virtualRouterName)
VirtualRouterBaseProps.getVirtualRouterName()
virtualRouterName
- The name of the VirtualRouter.this
@Stability(value=Stable) public VirtualRouterProps build()
build
in interface software.amazon.jsii.Builder<VirtualRouterProps>
VirtualRouterProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.