Class UserProfile.AbstractBuilder<BuilderT extends UserProfile.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.security.UserProfile.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
UserProfile.Builder
,UserProfileWithMetadata.AbstractBuilder
- Enclosing class:
- UserProfile
protected abstract static class UserProfile.AbstractBuilder<BuilderT extends UserProfile.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
data(java.lang.String key, JsonData value)
API name:data
BuilderT
data(java.util.Map<java.lang.String,JsonData> map)
API name:data
BuilderT
enabled(java.lang.Boolean value)
API name:enabled
BuilderT
labels(java.lang.String key, JsonData value)
API name:labels
BuilderT
labels(java.util.Map<java.lang.String,JsonData> map)
API name:labels
protected abstract BuilderT
self()
BuilderT
uid(java.lang.String value)
Required - API name:uid
BuilderT
user(UserProfileUser value)
Required - API name:user
BuilderT
user(java.util.function.Function<UserProfileUser.Builder,ObjectBuilder<UserProfileUser>> fn)
Required - API name:user
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
uid
Required - API name:uid
-
user
Required - API name:user
-
user
public final BuilderT user(java.util.function.Function<UserProfileUser.Builder,ObjectBuilder<UserProfileUser>> fn)Required - API name:user
-
data
API name:data
Adds all entries of
map
todata
. -
data
API name:data
Adds an entry to
data
. -
labels
API name:labels
Adds all entries of
map
tolabels
. -
labels
API name:labels
Adds an entry to
labels
. -
enabled
API name:enabled
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends UserProfile.AbstractBuilder<BuilderT>>
-