public static final class VirtualGatewayProps.Builder
extends java.lang.Object
VirtualGatewayProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualGatewayProps.Builder |
accessLog(AccessLog accessLog)
Sets the value of
VirtualGatewayBaseProps.getAccessLog() |
VirtualGatewayProps.Builder |
backendDefaults(BackendDefaults backendDefaults)
Sets the value of
VirtualGatewayBaseProps.getBackendDefaults() |
VirtualGatewayProps |
build()
Builds the configured instance.
|
VirtualGatewayProps.Builder |
listeners(java.util.List<? extends VirtualGatewayListener> listeners)
Sets the value of
VirtualGatewayBaseProps.getListeners() |
VirtualGatewayProps.Builder |
mesh(IMesh mesh)
Sets the value of
VirtualGatewayProps.getMesh() |
VirtualGatewayProps.Builder |
virtualGatewayName(java.lang.String virtualGatewayName)
Sets the value of
VirtualGatewayBaseProps.getVirtualGatewayName() |
public VirtualGatewayProps.Builder mesh(IMesh mesh)
VirtualGatewayProps.getMesh()
mesh
- The Mesh which the VirtualGateway belongs to. This parameter is required.this
public VirtualGatewayProps.Builder accessLog(AccessLog accessLog)
VirtualGatewayBaseProps.getAccessLog()
accessLog
- Access Logging Configuration for the VirtualGateway.this
public VirtualGatewayProps.Builder backendDefaults(BackendDefaults backendDefaults)
VirtualGatewayBaseProps.getBackendDefaults()
backendDefaults
- Default Configuration Virtual Node uses to communicate with Virtual Service.this
public VirtualGatewayProps.Builder listeners(java.util.List<? extends VirtualGatewayListener> listeners)
VirtualGatewayBaseProps.getListeners()
listeners
- Listeners for the VirtualGateway.
Only one is supported.this
public VirtualGatewayProps.Builder virtualGatewayName(java.lang.String virtualGatewayName)
VirtualGatewayBaseProps.getVirtualGatewayName()
virtualGatewayName
- Name of the VirtualGateway.this
public VirtualGatewayProps build()
VirtualGatewayProps
java.lang.NullPointerException
- if any required attribute was not provided