@Generated(value="software.amazon.awssdk:codegen") public final class Event extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Event.Builder,Event>
Modifier and Type | Class and Description |
---|---|
static interface |
Event.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
Custom attributes that are associated with the event you're adding or updating.
|
static Event.Builder |
builder() |
String |
clientSdkVersion()
The version of the SDK that's running on the client device.
|
boolean |
equals(Object obj) |
String |
eventType()
The name of the custom event that you're recording.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Map<String,Double> |
metrics()
Custom metrics related to the event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Event.Builder> |
serializableBuilderClass() |
Session |
session()
Information about the session in which the event occurred.
|
String |
timestamp()
The date and time when the event occurred, in ISO 8601 format.
|
Event.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Map<String,String> attributes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String clientSdkVersion()
public String eventType()
public Map<String,Double> metrics()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Session session()
public String timestamp()
public Event.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Event.Builder,Event>
public static Event.Builder builder()
public static Class<? extends Event.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.