Class CfnVirtualGateway.Builder

java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway>
Enclosing class:
CfnVirtualGateway

@Stability(Stable) public static final class CfnVirtualGateway.Builder extends Object implements software.amazon.jsii.Builder<CfnVirtualGateway>
A fluent builder for CfnVirtualGateway.
  • Method Details

    • create

      @Stability(Stable) public static CfnVirtualGateway.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVirtualGateway.Builder.
    • meshName

      @Stability(Stable) public CfnVirtualGateway.Builder meshName(String meshName)
      The name of the service mesh that the virtual gateway resides in.

      Parameters:
      meshName - The name of the service mesh that the virtual gateway resides in. This parameter is required.
      Returns:
      this
    • spec

      @Stability(Stable) public CfnVirtualGateway.Builder spec(IResolvable spec)
      The specifications of the virtual gateway.

      Parameters:
      spec - The specifications of the virtual gateway. This parameter is required.
      Returns:
      this
    • spec

      The specifications of the virtual gateway.

      Parameters:
      spec - The specifications of the virtual gateway. This parameter is required.
      Returns:
      this
    • meshOwner

      @Stability(Stable) public CfnVirtualGateway.Builder meshOwner(String meshOwner)
      The AWS IAM account ID of the service mesh owner.

      If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .

      Parameters:
      meshOwner - The AWS IAM account ID of the service mesh owner. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnVirtualGateway.Builder tags(List<? extends CfnTag> tags)
      Optional metadata that you can apply to the virtual gateway to assist with categorization and organization.

      Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

      Parameters:
      tags - Optional metadata that you can apply to the virtual gateway to assist with categorization and organization. This parameter is required.
      Returns:
      this
    • virtualGatewayName

      @Stability(Stable) public CfnVirtualGateway.Builder virtualGatewayName(String virtualGatewayName)
      The name of the virtual gateway.

      Parameters:
      virtualGatewayName - The name of the virtual gateway. This parameter is required.
      Returns:
      this
    • build

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