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 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

      @Stability(Stable) public VirtualGateway.Builder accessLog(AccessLog 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

      @Stability(Stable) public VirtualGateway.Builder backendDefaults(BackendDefaults 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

      @Stability(Stable) public VirtualGateway.Builder virtualGatewayName(String virtualGatewayName)
      Name of the VirtualGateway.

      Default: - A name is automatically determined

      Parameters:
      virtualGatewayName - Name of the VirtualGateway. This parameter is required.
      Returns:
      this
    • mesh

      @Stability(Stable) public VirtualGateway.Builder mesh(IMesh mesh)
      The Mesh which the VirtualGateway belongs to.

      Parameters:
      mesh - The Mesh which the VirtualGateway belongs to. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public VirtualGateway build()
      Specified by:
      build in interface software.amazon.jsii.Builder<VirtualGateway>
      Returns:
      a newly built instance of VirtualGateway.