@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Event extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
Event |
addAttributesEntry(String key,
String value) |
Event |
addMetricsEntry(String key,
Double value) |
Event |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Event |
clearMetricsEntries()
Removes all the entries added into Metrics.
|
Event |
clone() |
boolean |
equals(Object obj) |
String |
getAppPackageName()
The package name associated with the app that's recording the event.
|
String |
getAppTitle()
The title of the app that's recording the event.
|
String |
getAppVersionCode()
The version number of the app that's recording the event.
|
Map<String,String> |
getAttributes()
Custom attributes that are associated with the event you're adding or updating.
|
String |
getClientSdkVersion()
The version of the SDK that's running on the client device.
|
String |
getEventType()
The name of the custom event that you're recording.
|
Map<String,Double> |
getMetrics()
Custom metrics related to the event.
|
String |
getSdkName()
The name of the SDK that's being used to record the event.
|
Session |
getSession()
Information about the session in which the event occurred.
|
String |
getTimestamp()
The date and time when the event occurred, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAppPackageName(String appPackageName)
The package name associated with the app that's recording the event.
|
void |
setAppTitle(String appTitle)
The title of the app that's recording the event.
|
void |
setAppVersionCode(String appVersionCode)
The version number of the app that's recording the event.
|
void |
setAttributes(Map<String,String> attributes)
Custom attributes that are associated with the event you're adding or updating.
|
void |
setClientSdkVersion(String clientSdkVersion)
The version of the SDK that's running on the client device.
|
void |
setEventType(String eventType)
The name of the custom event that you're recording.
|
void |
setMetrics(Map<String,Double> metrics)
Custom metrics related to the event.
|
void |
setSdkName(String sdkName)
The name of the SDK that's being used to record the event.
|
void |
setSession(Session session)
Information about the session in which the event occurred.
|
void |
setTimestamp(String timestamp)
The date and time when the event occurred, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
Event |
withAppPackageName(String appPackageName)
The package name associated with the app that's recording the event.
|
Event |
withAppTitle(String appTitle)
The title of the app that's recording the event.
|
Event |
withAppVersionCode(String appVersionCode)
The version number of the app that's recording the event.
|
Event |
withAttributes(Map<String,String> attributes)
Custom attributes that are associated with the event you're adding or updating.
|
Event |
withClientSdkVersion(String clientSdkVersion)
The version of the SDK that's running on the client device.
|
Event |
withEventType(String eventType)
The name of the custom event that you're recording.
|
Event |
withMetrics(Map<String,Double> metrics)
Custom metrics related to the event.
|
Event |
withSdkName(String sdkName)
The name of the SDK that's being used to record the event.
|
Event |
withSession(Session session)
Information about the session in which the event occurred.
|
Event |
withTimestamp(String timestamp)
The date and time when the event occurred, in ISO 8601 format.
|
public void setAppPackageName(String appPackageName)
appPackageName - The package name associated with the app that's recording the event.public String getAppPackageName()
public Event withAppPackageName(String appPackageName)
appPackageName - The package name associated with the app that's recording the event.public void setAppTitle(String appTitle)
appTitle - The title of the app that's recording the event.public String getAppTitle()
public Event withAppTitle(String appTitle)
appTitle - The title of the app that's recording the event.public void setAppVersionCode(String appVersionCode)
appVersionCode - The version number of the app that's recording the event.public String getAppVersionCode()
public Event withAppVersionCode(String appVersionCode)
appVersionCode - The version number of the app that's recording the event.public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes - Custom attributes that are associated with the event you're adding or updating.public Event withAttributes(Map<String,String> attributes)
attributes - Custom attributes that are associated with the event you're adding or updating.public Event clearAttributesEntries()
public void setClientSdkVersion(String clientSdkVersion)
clientSdkVersion - The version of the SDK that's running on the client device.public String getClientSdkVersion()
public Event withClientSdkVersion(String clientSdkVersion)
clientSdkVersion - The version of the SDK that's running on the client device.public void setEventType(String eventType)
eventType - The name of the custom event that you're recording.public String getEventType()
public Event withEventType(String eventType)
eventType - The name of the custom event that you're recording.public Map<String,Double> getMetrics()
public void setMetrics(Map<String,Double> metrics)
metrics - Custom metrics related to the event.public Event withMetrics(Map<String,Double> metrics)
metrics - Custom metrics related to the event.public Event clearMetricsEntries()
public void setSdkName(String sdkName)
sdkName - The name of the SDK that's being used to record the event.public String getSdkName()
public Event withSdkName(String sdkName)
sdkName - The name of the SDK that's being used to record the event.public void setSession(Session session)
session - Information about the session in which the event occurred.public Session getSession()
public Event withSession(Session session)
session - Information about the session in which the event occurred.public void setTimestamp(String timestamp)
timestamp - The date and time when the event occurred, in ISO 8601 format.public String getTimestamp()
public Event withTimestamp(String timestamp)
timestamp - The date and time when the event occurred, in ISO 8601 format.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.