Class CfnSiteProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • globalNetworkId

      @Stability(Stable) public CfnSiteProps.Builder globalNetworkId(String globalNetworkId)
      Parameters:
      globalNetworkId - The ID of the global network. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnSiteProps.Builder description(String description)
      Parameters:
      description - A description of your site. Constraints: Maximum length of 256 characters.
      Returns:
      this
    • location

      @Stability(Stable) public CfnSiteProps.Builder location(IResolvable location)
      Sets the value of CfnSiteProps.getLocation()
      Parameters:
      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.
      Returns:
      this
    • location

      @Stability(Stable) public CfnSiteProps.Builder location(CfnSite.LocationProperty location)
      Sets the value of CfnSiteProps.getLocation()
      Parameters:
      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.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnSiteProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnSiteProps.getTags()
      Parameters:
      tags - The tags for the site.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSiteProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSiteProps>
      Returns:
      a new instance of CfnSiteProps
      Throws:
      NullPointerException - if any required attribute was not provided