@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 source IP address of your user's device.
|
String |
getTimezone()
The user's time zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 source IP address of your user's device.
|
void |
setTimezone(String timezone)
The user's time zone.
|
String |
toString()
Returns a string representation of this object.
|
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 source IP address of your user's device.
|
EventContextDataType |
withTimezone(String timezone)
The user's time zone.
|
public void setIpAddress(String ipAddress)
The source IP address of your user's device.
ipAddress
- The source IP address of your user's device.public String getIpAddress()
The source IP address of your user's device.
public EventContextDataType withIpAddress(String ipAddress)
The source IP address of your user's device.
ipAddress
- The source IP address of your user's device.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 Object
Object.toString()
public EventContextDataType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.