Class CfnSiteMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnSiteMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSiteMixinProps>
- Enclosing interface:
CfnSiteMixinProps
@Stability(Stable)
public static final class CfnSiteMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSiteMixinProps>
A builder for
CfnSiteMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSiteMixinProps.getDescription()globalNetworkId(String globalNetworkId) Sets the value ofCfnSiteMixinProps.getGlobalNetworkId()location(CfnSitePropsMixin.LocationProperty location) Sets the value ofCfnSiteMixinProps.getLocation()location(IResolvable location) Sets the value ofCfnSiteMixinProps.getLocation()Sets the value ofCfnSiteMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSiteMixinProps.getDescription()- Parameters:
description- A description of your site. Constraints: Maximum length of 256 characters.- Returns:
this
-
globalNetworkId
Sets the value ofCfnSiteMixinProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network.- Returns:
this
-
location
Sets the value ofCfnSiteMixinProps.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 CfnSiteMixinProps.Builder location(CfnSitePropsMixin.LocationProperty location) Sets the value ofCfnSiteMixinProps.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 ofCfnSiteMixinProps.getTags()- Parameters:
tags- The tags for the site.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSiteMixinProps>- Returns:
- a new instance of
CfnSiteMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-