public class EndpointProfileLocation extends Object implements com.amazonaws.mobileconnectors.pinpoint.internal.core.util.JSONSerializable
| Constructor and Description |
|---|
EndpointProfileLocation(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Gets city.
|
String |
getCountry()
Gets country.
|
Double |
getLatitude()
Gets latitude.
|
Double |
getLongitude()
Gets longitude.
|
String |
getPostalCode()
Gets postal code.
|
String |
getRegion()
Gets region.
|
void |
setCity(String city)
Sets city.
|
void |
setCountry(String country)
Sets country.
|
void |
setLatitude(Double latitude)
Sets latitude.
|
void |
setLongitude(Double longitude)
Sets longitude.
|
void |
setPostalCode(String postalCode)
Sets postal code.
|
void |
setRegion(String region)
Sets region.
|
org.json.JSONObject |
toJSONObject() |
public EndpointProfileLocation(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context)
context - the contextpublic Double getLatitude()
public void setLatitude(Double latitude)
latitude - the latitudepublic Double getLongitude()
public void setLongitude(Double longitude)
longitude - the longitudepublic String getPostalCode()
public void setPostalCode(String postalCode)
postalCode - the postal codepublic String getCity()
public void setCity(String city)
city - the citypublic String getRegion()
public void setRegion(String region)
region - the regionpublic String getCountry()
public void setCountry(String country)
country - the countrypublic org.json.JSONObject toJSONObject()
toJSONObject in interface com.amazonaws.mobileconnectors.pinpoint.internal.core.util.JSONSerializableCopyright © 2019. All rights reserved.