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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnSiteProps.getDescription()
globalNetworkId
(String globalNetworkId) Sets the value ofCfnSiteProps.getGlobalNetworkId()
location
(IResolvable location) Sets the value ofCfnSiteProps.getLocation()
location
(CfnSite.LocationProperty location) Sets the value ofCfnSiteProps.getLocation()
Sets the value ofCfnSiteProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalNetworkId
Sets the value ofCfnSiteProps.getGlobalNetworkId()
- Parameters:
globalNetworkId
- The ID of the global network. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnSiteProps.getDescription()
- Parameters:
description
- A description of your site. Constraints: Maximum length of 256 characters.- Returns:
this
-
location
Sets the value ofCfnSiteProps.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
Sets the value ofCfnSiteProps.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
Sets the value ofCfnSiteProps.getTags()
- Parameters:
tags
- The tags for the site.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSiteProps>
- Returns:
- a new instance of
CfnSiteProps
- Throws:
NullPointerException
- if any required attribute was not provided
-