public static final class CfnDevice.LocationProperty.Builder
extends java.lang.Object
CfnDevice.LocationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDevice.LocationProperty.Builder |
address(java.lang.String address)
Sets the value of
CfnDevice.LocationProperty.getAddress() |
CfnDevice.LocationProperty |
build()
Builds the configured instance.
|
CfnDevice.LocationProperty.Builder |
latitude(java.lang.String latitude)
Sets the value of
CfnDevice.LocationProperty.getLatitude() |
CfnDevice.LocationProperty.Builder |
longitude(java.lang.String longitude)
Sets the value of
CfnDevice.LocationProperty.getLongitude() |
public CfnDevice.LocationProperty.Builder address(java.lang.String address)
CfnDevice.LocationProperty.getAddress()
address
- The physical address.this
public CfnDevice.LocationProperty.Builder latitude(java.lang.String latitude)
CfnDevice.LocationProperty.getLatitude()
latitude
- The latitude.this
public CfnDevice.LocationProperty.Builder longitude(java.lang.String longitude)
CfnDevice.LocationProperty.getLongitude()
longitude
- The longitude.this
public CfnDevice.LocationProperty build()
CfnDevice.LocationProperty
java.lang.NullPointerException
- if any required attribute was not provided