Class Mesh.Builder

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

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

    • create

      @Stability(Stable) public static Mesh.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Mesh.Builder.
    • egressFilter

      @Stability(Stable) public Mesh.Builder egressFilter(MeshFilterType egressFilter)
      Egress filter to be applied to the Mesh.

      Default: DROP_ALL

      Parameters:
      egressFilter - Egress filter to be applied to the Mesh. This parameter is required.
      Returns:
      this
    • meshName

      @Stability(Stable) public Mesh.Builder meshName(String meshName)
      The name of the Mesh being defined.

      Default: - A name is automatically generated

      Parameters:
      meshName - The name of the Mesh being defined. This parameter is required.
      Returns:
      this
    • build

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