Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String sessionToken,
String collectionId,
String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
EventData |
build()
Builds a EventData.
|
EventData.Builder |
clientTimestamp(Date clientTimestamp)
Set the clientTimestamp.
|
EventData.Builder |
collectionId(String collectionId)
Set the collectionId.
|
EventData.Builder |
displayRank(long displayRank)
Set the displayRank.
|
EventData.Builder |
documentId(String documentId)
Set the documentId.
|
EventData.Builder |
environmentId(String environmentId)
Set the environmentId.
|
EventData.Builder |
sessionToken(String sessionToken)
Set the sessionToken.
|
public EventData build()
public EventData.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic EventData.Builder sessionToken(String sessionToken)
sessionToken
- the sessionTokenpublic EventData.Builder clientTimestamp(Date clientTimestamp)
clientTimestamp
- the clientTimestamppublic EventData.Builder displayRank(long displayRank)
displayRank
- the displayRankpublic EventData.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic EventData.Builder documentId(String documentId)
documentId
- the documentIdCopyright © 2023 IBM Cloud. All rights reserved.