public class EndpointProfileLocation
extends java.lang.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 |
---|---|
java.lang.String |
getCity()
Gets city.
|
java.lang.String |
getCountry()
Gets country.
|
java.lang.Double |
getLatitude()
Gets latitude.
|
java.lang.Double |
getLongitude()
Gets longitude.
|
java.lang.String |
getPostalCode()
Gets postal code.
|
java.lang.String |
getRegion()
Gets region.
|
void |
setCity(java.lang.String city)
Sets city.
|
void |
setCountry(java.lang.String country)
Sets country.
|
void |
setLatitude(java.lang.Double latitude)
Sets latitude.
|
void |
setLongitude(java.lang.Double longitude)
Sets longitude.
|
void |
setPostalCode(java.lang.String postalCode)
Sets postal code.
|
void |
setRegion(java.lang.String region)
Sets region.
|
org.json.JSONObject |
toJSONObject() |
public EndpointProfileLocation(com.amazonaws.mobileconnectors.pinpoint.internal.core.PinpointContext context)
context
- the contextpublic java.lang.Double getLatitude()
public void setLatitude(java.lang.Double latitude)
latitude
- the latitudepublic java.lang.Double getLongitude()
public void setLongitude(java.lang.Double longitude)
longitude
- the longitudepublic java.lang.String getPostalCode()
public void setPostalCode(java.lang.String postalCode)
postalCode
- the postal codepublic java.lang.String getCity()
public void setCity(java.lang.String city)
city
- the citypublic java.lang.String getRegion()
public void setRegion(java.lang.String region)
region
- the regionpublic java.lang.String getCountry()
public void setCountry(java.lang.String country)
country
- the countrypublic org.json.JSONObject toJSONObject()
toJSONObject
in interface com.amazonaws.mobileconnectors.pinpoint.internal.core.util.JSONSerializable
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.