@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)
Add a single UserAttributes entry
|
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)
Marshalls this structured data using the given
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. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction doesn't apply to attribute values.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction 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. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction 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. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction 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. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction 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. Attribute names are case sensitive.
An attribute name can contain up to 50 characters. An attribute value can contain up to 100 characters. 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 restriction 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 Object
Object.toString()
public EndpointUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.