@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutEventsRequest() |
Modifier and Type | Method and Description |
---|---|
PutEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Event> |
getEventList()
A list of event data from the session.
|
String |
getSessionId()
The session ID associated with the user's visit.
|
String |
getTrackingId()
The tracking ID for the event.
|
String |
getUserId()
The user associated with the event.
|
int |
hashCode() |
void |
setEventList(Collection<Event> eventList)
A list of event data from the session.
|
void |
setSessionId(String sessionId)
The session ID associated with the user's visit.
|
void |
setTrackingId(String trackingId)
The tracking ID for the event.
|
void |
setUserId(String userId)
The user associated with the event.
|
String |
toString()
Returns a string representation of this object.
|
PutEventsRequest |
withEventList(Collection<Event> eventList)
A list of event data from the session.
|
PutEventsRequest |
withEventList(Event... eventList)
A list of event data from the session.
|
PutEventsRequest |
withSessionId(String sessionId)
The session ID associated with the user's visit.
|
PutEventsRequest |
withTrackingId(String trackingId)
The tracking ID for the event.
|
PutEventsRequest |
withUserId(String userId)
The user associated with the event.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTrackingId(String trackingId)
The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
trackingId
- The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.public String getTrackingId()
The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
public PutEventsRequest withTrackingId(String trackingId)
The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
trackingId
- The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.public void setUserId(String userId)
The user associated with the event.
userId
- The user associated with the event.public String getUserId()
The user associated with the event.
public PutEventsRequest withUserId(String userId)
The user associated with the event.
userId
- The user associated with the event.public void setSessionId(String sessionId)
The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording item interaction events.
sessionId
- The session ID associated with the user's visit. Your application generates the sessionId when a user
first visits your website or uses your application. Amazon Personalize uses the sessionId to associate
events with the user before they log in. For more information, see Recording
item interaction events.public String getSessionId()
The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording item interaction events.
public PutEventsRequest withSessionId(String sessionId)
The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording item interaction events.
sessionId
- The session ID associated with the user's visit. Your application generates the sessionId when a user
first visits your website or uses your application. Amazon Personalize uses the sessionId to associate
events with the user before they log in. For more information, see Recording
item interaction events.public List<Event> getEventList()
A list of event data from the session.
public void setEventList(Collection<Event> eventList)
A list of event data from the session.
eventList
- A list of event data from the session.public PutEventsRequest withEventList(Event... eventList)
A list of event data from the session.
NOTE: This method appends the values to the existing list (if any). Use
setEventList(java.util.Collection)
or withEventList(java.util.Collection)
if you want to
override the existing values.
eventList
- A list of event data from the session.public PutEventsRequest withEventList(Collection<Event> eventList)
A list of event data from the session.
eventList
- A list of event data from the session.public String toString()
toString
in class Object
Object.toString()
public PutEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()