Interface VirtualRouterBaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
VirtualRouterProps
- All Known Implementing Classes:
VirtualRouterBaseProps.Jsii$Proxy
,VirtualRouterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:53.276Z")
@Stability(Stable)
public interface VirtualRouterBaseProps
extends software.amazon.jsii.JsiiSerializable
Interface with base properties all routers willl inherit.
Example:
Mesh mesh; VirtualRouter router = mesh.addVirtualRouter("router", VirtualRouterBaseProps.builder() .listeners(List.of(VirtualRouterListener.http(8080))) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVirtualRouterBaseProps
static final class
An implementation forVirtualRouterBaseProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default List<VirtualRouterListener>
Listener specification for the VirtualRouter.default String
The name of the VirtualRouter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListeners
Listener specification for the VirtualRouter.Default: - A listener on HTTP port 8080
-
getVirtualRouterName
The name of the VirtualRouter.Default: - A name is automatically determined
-
builder
- Returns:
- a
VirtualRouterBaseProps.Builder
ofVirtualRouterBaseProps
-