@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDetails extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about the user session that this batch of events was collected from.
Constructor and Description |
---|
UserDetails() |
Modifier and Type | Method and Description |
---|---|
UserDetails |
clone() |
boolean |
equals(Object obj) |
String |
getSessionId()
The session ID that the performance events are from.
|
String |
getUserId()
The ID of the user for this user session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSessionId(String sessionId)
The session ID that the performance events are from.
|
void |
setUserId(String userId)
The ID of the user for this user session.
|
String |
toString()
Returns a string representation of this object.
|
UserDetails |
withSessionId(String sessionId)
The session ID that the performance events are from.
|
UserDetails |
withUserId(String userId)
The ID of the user for this user session.
|
public void setSessionId(String sessionId)
The session ID that the performance events are from.
sessionId
- The session ID that the performance events are from.public String getSessionId()
The session ID that the performance events are from.
public UserDetails withSessionId(String sessionId)
The session ID that the performance events are from.
sessionId
- The session ID that the performance events are from.public void setUserId(String userId)
The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.
userId
- The ID of the user for this user session. This ID is generated by RUM and does not include any personally
identifiable information about the user.public String getUserId()
The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.
public UserDetails withUserId(String userId)
The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.
userId
- The ID of the user for this user session. This ID is generated by RUM and does not include any personally
identifiable information about the user.public String toString()
toString
in class Object
Object.toString()
public UserDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.