@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointUser extends Object implements Serializable, Cloneable, StructuredPojo
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()
Custom attributes that describe the user by associating a name with an array of values.
|
String |
getUserId()
The unique ID of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserAttributes(Map<String,List<String>> userAttributes)
Custom attributes that describe the user by associating a name with an array of values.
|
void |
setUserId(String userId)
The unique ID of the user.
|
String |
toString()
Returns a string representation of this object.
|
EndpointUser |
withUserAttributes(Map<String,List<String>> userAttributes)
Custom attributes that describe the user by associating a name with an array of values.
|
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 attributes that describe the user by associating a name with an array of values. For example, an
attribute named "interests" might have the following values: ["science", "politics", "travel"]. You can
use these attributes as selection criteria when you create segments.
The Amazon Pinpoint console can't display attribute names that include the following characters:
hash/pound sign (#), colon (:), question mark (?), backslash (\), and forward slash (/). For this reason,
you should avoid using these characters in the names of custom attributes.public EndpointUser withUserAttributes(Map<String,List<String>> userAttributes)
userAttributes
- Custom attributes that describe the user by associating a name with an array of values. For example, an
attribute named "interests" might have the following values: ["science", "politics", "travel"]. You can
use these attributes as selection criteria when you create segments.
The Amazon Pinpoint console can't display attribute names that include the following characters:
hash/pound sign (#), colon (:), question mark (?), backslash (\), and forward slash (/). For this reason,
you should avoid using these characters in the names of custom attributes.public EndpointUser addUserAttributesEntry(String key, List<String> value)
public EndpointUser clearUserAttributesEntries()
public void setUserId(String userId)
userId
- The unique ID of the user.public String getUserId()
public EndpointUser withUserId(String userId)
userId
- The unique ID of 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.