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.104.0 (build e79254c)",
date="2024-11-22T02:23:56.991Z")
@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
-