Class VirtualGateway.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.VirtualGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VirtualGateway>
- Enclosing class:
VirtualGateway
@Stability(Stable)
public static final class VirtualGateway.Builder
extends Object
implements software.amazon.jsii.Builder<VirtualGateway>
A fluent builder for
VirtualGateway
.-
Method Summary
Modifier and TypeMethodDescriptionAccess Logging Configuration for the VirtualGateway.backendDefaults
(BackendDefaults backendDefaults) Default Configuration Virtual Node uses to communicate with Virtual Service.build()
static VirtualGateway.Builder
listeners
(List<? extends VirtualGatewayListener> listeners) Listeners for the VirtualGateway.The Mesh which the VirtualGateway belongs to.virtualGatewayName
(String virtualGatewayName) Name of the VirtualGateway.
-
Method Details
-
create
@Stability(Stable) public static VirtualGateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
VirtualGateway.Builder
.
-
accessLog
Access Logging Configuration for the VirtualGateway.Default: - no access logging
- Parameters:
accessLog
- Access Logging Configuration for the VirtualGateway. This parameter is required.- Returns:
this
-
backendDefaults
Default Configuration Virtual Node uses to communicate with Virtual Service.Default: - No Config
- Parameters:
backendDefaults
- Default Configuration Virtual Node uses to communicate with Virtual Service. This parameter is required.- Returns:
this
-
listeners
@Stability(Stable) public VirtualGateway.Builder listeners(List<? extends VirtualGatewayListener> listeners) Listeners for the VirtualGateway.Only one is supported.
Default: - Single HTTP listener on port 8080
- Parameters:
listeners
- Listeners for the VirtualGateway. This parameter is required.- Returns:
this
-
virtualGatewayName
Name of the VirtualGateway.Default: - A name is automatically determined
- Parameters:
virtualGatewayName
- Name of the VirtualGateway. This parameter is required.- Returns:
this
-
mesh
The Mesh which the VirtualGateway belongs to.- Parameters:
mesh
- The Mesh which the VirtualGateway belongs to. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VirtualGateway>
- Returns:
- a newly built instance of
VirtualGateway
.
-