public class EndpointUser extends Object implements Serializable
| Constructor and Description |
|---|
EndpointUser() |
| Modifier and Type | Method and Description |
|---|---|
EndpointUser |
addUserAttributesEntry(String key,
List<String> value)
Custom attributesd specific to the user.
|
EndpointUser |
clearUserAttributesEntries()
Removes all the entries added into UserAttributes.
|
boolean |
equals(Object obj) |
Map<String,List<String>> |
getUserAttributes()
Custom attributesd specific to the user.
|
String |
getUserId()
The unique ID of the user.
|
int |
hashCode() |
void |
setUserAttributes(Map<String,List<String>> userAttributes)
Custom attributesd specific to the user.
|
void |
setUserId(String userId)
The unique ID of the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EndpointUser |
withUserAttributes(Map<String,List<String>> userAttributes)
Custom attributesd specific to the user.
|
EndpointUser |
withUserId(String userId)
The unique ID of the user.
|
public Map<String,List<String>> getUserAttributes()
public void setUserAttributes(Map<String,List<String>> userAttributes)
userAttributes - Custom attributesd specific to the user.public EndpointUser withUserAttributes(Map<String,List<String>> userAttributes)
Returns a reference to this object so that method calls can be chained together.
userAttributes - Custom attributesd specific to the user.public EndpointUser addUserAttributesEntry(String key, List<String> value)
The method adds a new key-value pair into UserAttributes parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into UserAttributes.value - The corresponding value of the entry to be added into
UserAttributes.public EndpointUser clearUserAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public String getUserId()
public void setUserId(String userId)
userId - The unique ID of the user.public EndpointUser withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId - The unique ID of the user.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.