Class CfnSite.Builder

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

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

    • create

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

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

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

      @Stability(Stable) public CfnSite.Builder description(String description)
      A description of your site.

      Constraints: Maximum length of 256 characters.

      Parameters:
      description - A description of your site. This parameter is required.
      Returns:
      this
    • location

      @Stability(Stable) public CfnSite.Builder location(IResolvable location)
      The site location.

      This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address : The physical address of the site.
      • Latitude : The latitude of the site.
      • Longitude : The longitude of the site.

      Parameters:
      location - The site location. This parameter is required.
      Returns:
      this
    • location

      @Stability(Stable) public CfnSite.Builder location(CfnSite.LocationProperty location)
      The site location.

      This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address : The physical address of the site.
      • Latitude : The latitude of the site.
      • Longitude : The longitude of the site.

      Parameters:
      location - The site location. This parameter is required.
      Returns:
      this
    • tags

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

      Parameters:
      tags - The tags for the site. This parameter is required.
      Returns:
      this
    • build

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