public static class EventData.Builder
extends java.lang.Object
Constructor and Description |
---|
EventData.Builder()
Instantiates a new builder.
|
EventData.Builder(java.lang.String environmentId,
java.lang.String sessionToken,
java.lang.String collectionId,
java.lang.String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
EventData |
build()
Builds a EventData.
|
EventData.Builder |
clientTimestamp(java.util.Date clientTimestamp)
Set the clientTimestamp.
|
EventData.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
EventData.Builder |
displayRank(long displayRank)
Set the displayRank.
|
EventData.Builder |
documentId(java.lang.String documentId)
Set the documentId.
|
EventData.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
EventData.Builder |
queryId(java.lang.String queryId)
Set the queryId.
|
EventData.Builder |
sessionToken(java.lang.String sessionToken)
Set the sessionToken.
|
public EventData.Builder()
public EventData.Builder(java.lang.String environmentId, java.lang.String sessionToken, java.lang.String collectionId, java.lang.String documentId)
environmentId
- the environmentIdsessionToken
- the sessionTokencollectionId
- the collectionIddocumentId
- the documentIdpublic EventData build()
public EventData.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic EventData.Builder sessionToken(java.lang.String sessionToken)
sessionToken
- the sessionTokenpublic EventData.Builder clientTimestamp(java.util.Date clientTimestamp)
clientTimestamp
- the clientTimestamppublic EventData.Builder displayRank(long displayRank)
displayRank
- the displayRankpublic EventData.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic EventData.Builder documentId(java.lang.String documentId)
documentId
- the documentIdpublic EventData.Builder queryId(java.lang.String queryId)
queryId
- the queryId