public static final class NamedUserView.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
NamedUserView.Builder |
addAllAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Add all attributes to the named user.
|
NamedUserView.Builder |
addAllUserAttributes(java.util.Map<java.lang.String,java.lang.String> userAttributes)
Add all user attributes to the named user.
|
NamedUserView |
build()
Build the NamedUserView object
|
NamedUserView.Builder |
setChannelViews(<any> channelViews)
Set the associated channel objects.
|
NamedUserView.Builder |
setNamedUserId(java.lang.String namedUserId)
Set the named user ID.
|
NamedUserView.Builder |
setNamedUserTags(<any> namedUserTags)
Set the associated tag groups and tags.
|
public NamedUserView.Builder setNamedUserId(java.lang.String namedUserId)
namedUserId
- Stringpublic NamedUserView.Builder setNamedUserTags(<any> namedUserTags)
namedUserTags
- Immutable map of tag groups and ImmutableSets of tagspublic NamedUserView.Builder setChannelViews(<any> channelViews)
channelViews
- Set of ChannelView objects.public NamedUserView.Builder addAllAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes
- Map of Strings attributespublic NamedUserView.Builder addAllUserAttributes(java.util.Map<java.lang.String,java.lang.String> userAttributes)
userAttributes
- Map of Strings userAttributespublic NamedUserView build()