@Generated(value="software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
Represents user metadata added to a Users dataset using the PutUsers API. For more information see Importing Users Incrementally.
| Modifier and Type | Class and Description |
|---|---|
static interface |
User.Builder |
| Modifier and Type | Method and Description |
|---|---|
static User.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
properties()
A string map of user-specific metadata.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends User.Builder> |
serializableBuilderClass() |
User.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The ID associated with the user.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userId()
The ID associated with the user.
public final String properties()
A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example,
{"numberOfVideosWatched": "45"}.
The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example,
the numberOfVideosWatched matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema.
For categorical string data, to include multiple categories for a single user, separate each category with a pipe
separator (|). For example, \"Member|Frequent shopper\".
{"numberOfVideosWatched": "45"}.
The keys use camel case names that match the fields in the schema for the Users dataset. In the previous
example, the numberOfVideosWatched matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in
the Users schema. For categorical string data, to include multiple categories for a single user, separate
each category with a pipe separator (|). For example,
\"Member|Frequent shopper\".
public User.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<User.Builder,User>public static User.Builder builder()
public static Class<? extends User.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.