Class CfnVirtualNode.Builder

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

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

    • create

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

      @Stability(Stable) public CfnVirtualNode.Builder meshName(String meshName)
      The name of the service mesh to create the virtual node in.

      Parameters:
      meshName - The name of the service mesh to create the virtual node in. This parameter is required.
      Returns:
      this
    • spec

      @Stability(Stable) public CfnVirtualNode.Builder spec(IResolvable spec)
      The virtual node specification to apply.

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

      @Stability(Stable) public CfnVirtualNode.Builder spec(CfnVirtualNode.VirtualNodeSpecProperty spec)
      The virtual node specification to apply.

      Parameters:
      spec - The virtual node specification to apply. This parameter is required.
      Returns:
      this
    • meshOwner

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

      If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. 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 CfnVirtualNode.Builder tags(List<? extends CfnTag> tags)
      Optional metadata that you can apply to the virtual node 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 node to assist with categorization and organization. This parameter is required.
      Returns:
      this
    • virtualNodeName

      @Stability(Stable) public CfnVirtualNode.Builder virtualNodeName(String virtualNodeName)
      The name to use for the virtual node.

      Parameters:
      virtualNodeName - The name to use for the virtual node. This parameter is required.
      Returns:
      this
    • build

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