@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventContextDataType extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the user context data captured at the time of an event request.
| Constructor and Description |
|---|
EventContextDataType() |
| Modifier and Type | Method and Description |
|---|---|
EventContextDataType |
clone() |
boolean |
equals(Object obj) |
String |
getCity()
The user's city.
|
String |
getCountry()
The user's country.
|
String |
getDeviceName()
The user's device name.
|
String |
getIpAddress()
The user's IP address.
|
String |
getTimezone()
The user's time zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCity(String city)
The user's city.
|
void |
setCountry(String country)
The user's country.
|
void |
setDeviceName(String deviceName)
The user's device name.
|
void |
setIpAddress(String ipAddress)
The user's IP address.
|
void |
setTimezone(String timezone)
The user's time zone.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EventContextDataType |
withCity(String city)
The user's city.
|
EventContextDataType |
withCountry(String country)
The user's country.
|
EventContextDataType |
withDeviceName(String deviceName)
The user's device name.
|
EventContextDataType |
withIpAddress(String ipAddress)
The user's IP address.
|
EventContextDataType |
withTimezone(String timezone)
The user's time zone.
|
public void setIpAddress(String ipAddress)
The user's IP address.
ipAddress - The user's IP address.public String getIpAddress()
The user's IP address.
public EventContextDataType withIpAddress(String ipAddress)
The user's IP address.
ipAddress - The user's IP address.public void setDeviceName(String deviceName)
The user's device name.
deviceName - The user's device name.public String getDeviceName()
The user's device name.
public EventContextDataType withDeviceName(String deviceName)
The user's device name.
deviceName - The user's device name.public void setTimezone(String timezone)
The user's time zone.
timezone - The user's time zone.public String getTimezone()
The user's time zone.
public EventContextDataType withTimezone(String timezone)
The user's time zone.
timezone - The user's time zone.public void setCity(String city)
The user's city.
city - The user's city.public String getCity()
The user's city.
public EventContextDataType withCity(String city)
The user's city.
city - The user's city.public void setCountry(String country)
The user's country.
country - The user's country.public String getCountry()
The user's country.
public EventContextDataType withCountry(String country)
The user's country.
country - The user's country.public String toString()
toString in class ObjectObject.toString()public EventContextDataType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.