@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointUser extends Object implements Serializable, Cloneable, StructuredPojo
Specifies data for one or more attributes that describe the user who's associated with an endpoint.
| Constructor and Description |
|---|
EndpointUser() |
| Modifier and Type | Method and Description |
|---|---|
EndpointUser |
addUserAttributesEntry(String key,
List<String> value) |
EndpointUser |
clearUserAttributesEntries()
Removes all the entries added into UserAttributes.
|
EndpointUser |
clone() |
boolean |
equals(Object obj) |
Map<String,List<String>> |
getUserAttributes()
One or more custom attributes that describe the user by associating a name with an array of values.
|
String |
getUserId()
The unique identifier for the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setUserAttributes(Map<String,List<String>> userAttributes)
One or more custom attributes that describe the user by associating a name with an array of values.
|
void |
setUserId(String userId)
The unique identifier for the user.
|
String |
toString()
Returns a string representation of this object.
|
EndpointUser |
withUserAttributes(Map<String,List<String>> userAttributes)
One or more custom attributes that describe the user by associating a name with an array of values.
|
EndpointUser |
withUserId(String userId)
The unique identifier for the user.
|
public Map<String,List<String>> getUserAttributes()
One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
public void setUserAttributes(Map<String,List<String>> userAttributes)
One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
userAttributes - One or more custom attributes that describe the user by associating a name with an array of values. For
example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use
these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
public EndpointUser withUserAttributes(Map<String,List<String>> userAttributes)
One or more custom attributes that describe the user by associating a name with an array of values. For example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
userAttributes - One or more custom attributes that describe the user by associating a name with an array of values. For
example, the value of an attribute named Interests might be: ["science", "music", "travel"]. You can use
these attributes as filter criteria when you create segments.
When you define the name of a custom attribute, avoid using the following characters: number sign (#), colon (:), question mark (?), backslash (\), and slash (/). The Amazon Pinpoint console can't display attribute names that contain these characters. This limitation doesn't apply to attribute values.
public EndpointUser addUserAttributesEntry(String key, List<String> value)
public EndpointUser clearUserAttributesEntries()
public void setUserId(String userId)
The unique identifier for the user.
userId - The unique identifier for the user.public String getUserId()
The unique identifier for the user.
public EndpointUser withUserId(String userId)
The unique identifier for the user.
userId - The unique identifier for the user.public String toString()
toString in class ObjectObject.toString()public EndpointUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.