Class CfnLink.Builder

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

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

    • create

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

      @Stability(Stable) public CfnLink.Builder bandwidth(IResolvable bandwidth)
      The bandwidth for the link.

      Parameters:
      bandwidth - The bandwidth for the link. This parameter is required.
      Returns:
      this
    • bandwidth

      @Stability(Stable) public CfnLink.Builder bandwidth(CfnLink.BandwidthProperty bandwidth)
      The bandwidth for the link.

      Parameters:
      bandwidth - The bandwidth for the link. This parameter is required.
      Returns:
      this
    • globalNetworkId

      @Stability(Stable) public CfnLink.Builder globalNetworkId(String globalNetworkId)
      The ID of the global network.

      Parameters:
      globalNetworkId - The ID of the global network. This parameter is required.
      Returns:
      this
    • siteId

      @Stability(Stable) public CfnLink.Builder siteId(String siteId)
      The ID of the site.

      Parameters:
      siteId - The ID of the site. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnLink.Builder description(String description)
      A description of the link.

      Constraints: Maximum length of 256 characters.

      Parameters:
      description - A description of the link. This parameter is required.
      Returns:
      this
    • provider

      @Stability(Stable) public CfnLink.Builder provider(String provider)
      The provider of the link.

      Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

      Parameters:
      provider - The provider of the link. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLink.Builder tags(List<? extends CfnTag> tags)
      The tags for the link.

      Parameters:
      tags - The tags for the link. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnLink.Builder type(String type)
      The type of the link.

      Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

      Parameters:
      type - The type of the link. This parameter is required.
      Returns:
      this
    • build

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