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