Class CfnSite.LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnSite.LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSite.LocationProperty>
- Enclosing interface:
CfnSite.LocationProperty
@Stability(Stable)
public static final class CfnSite.LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSite.LocationProperty>
A builder for
CfnSite.LocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSite.LocationProperty.getAddress()
build()
Builds the configured instance.Sets the value ofCfnSite.LocationProperty.getLatitude()
Sets the value ofCfnSite.LocationProperty.getLongitude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnSite.LocationProperty.getAddress()
- Parameters:
address
- The physical address.- Returns:
this
-
latitude
Sets the value ofCfnSite.LocationProperty.getLatitude()
- Parameters:
latitude
- The latitude.- Returns:
this
-
longitude
Sets the value ofCfnSite.LocationProperty.getLongitude()
- Parameters:
longitude
- The longitude.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSite.LocationProperty>
- Returns:
- a new instance of
CfnSite.LocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-