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