@Generated(value="software.amazon.awssdk:codegen") public final class EventContextDataType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventContextDataType.Builder,EventContextDataType>
Specifies the user context data captured at the time of an event request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventContextDataType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventContextDataType.Builder |
builder() |
String |
city()
The user's city.
|
String |
country()
The user's country.
|
String |
deviceName()
The user's device name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddress()
The user's IP address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventContextDataType.Builder> |
serializableBuilderClass() |
String |
timezone()
The user's time zone.
|
EventContextDataType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String ipAddress()
The user's IP address.
public String deviceName()
The user's device name.
public String timezone()
The user's time zone.
public String city()
The user's city.
public String country()
The user's country.
public EventContextDataType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventContextDataType.Builder,EventContextDataType>public static EventContextDataType.Builder builder()
public static Class<? extends EventContextDataType.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.