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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSite.Builder
description
(String description) A description of your site.globalNetworkId
(String globalNetworkId) The ID of the global network.location
(IResolvable location) The site location.location
(CfnSite.LocationProperty location) The site location.The tags for the site.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSite.Builder
.
-
globalNetworkId
The ID of the global network.- Parameters:
globalNetworkId
- The ID of the global network. This parameter is required.- Returns:
this
-
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
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
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
The tags for the site.- Parameters:
tags
- The tags for the site. This parameter is required.- Returns:
this
-
build
-