Class CfnMesh.Builder

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

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

    • create

      @Stability(Stable) public static CfnMesh.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 CfnMesh.Builder.
    • meshName

      @Stability(Stable) public CfnMesh.Builder meshName(String meshName)
      The name to use for the service mesh.

      Parameters:
      meshName - The name to use for the service mesh. This parameter is required.
      Returns:
      this
    • spec

      @Stability(Stable) public CfnMesh.Builder spec(IResolvable spec)
      The service mesh specification to apply.

      Parameters:
      spec - The service mesh specification to apply. This parameter is required.
      Returns:
      this
    • spec

      @Stability(Stable) public CfnMesh.Builder spec(CfnMesh.MeshSpecProperty spec)
      The service mesh specification to apply.

      Parameters:
      spec - The service mesh specification to apply. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnMesh.Builder tags(List<? extends CfnTag> tags)
      Optional metadata that you can apply to the service mesh 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 service mesh to assist with categorization and organization. This parameter is required.
      Returns:
      this
    • build

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