Class UserProfileUser.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<UserProfileUser.Builder>
co.elastic.clients.elasticsearch.security.UserProfileUser.Builder
- All Implemented Interfaces:
WithJson<UserProfileUser.Builder>,ObjectBuilder<UserProfileUser>
- Enclosing class:
- UserProfileUser
public static class UserProfileUser.Builder extends WithJsonObjectBuilderBase<UserProfileUser.Builder> implements ObjectBuilder<UserProfileUser>
Builder for
UserProfileUser.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description UserProfileUserbuild()Builds aUserProfileUser.UserProfileUser.Builderemail(java.lang.String value)API name:emailUserProfileUser.BuilderfullName(java.lang.String value)API name:full_nameUserProfileUser.BuilderrealmDomain(java.lang.String value)API name:realm_domainUserProfileUser.BuilderrealmName(java.lang.String value)Required - API name:realm_nameUserProfileUser.Builderroles(java.lang.String value, java.lang.String... values)Required - API name:rolesUserProfileUser.Builderroles(java.util.List<java.lang.String> list)Required - API name:rolesprotected UserProfileUser.Builderself()UserProfileUser.Builderusername(java.lang.String value)Required - API name:usernameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
API name:email -
fullName
API name:full_name -
realmName
Required - API name:realm_name -
realmDomain
API name:realm_domain -
roles
Required - API name:rolesAdds all elements of
listtoroles. -
roles
Required - API name:rolesAdds one or more values to
roles. -
username
Required - API name:username -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<UserProfileUser.Builder>
-
build
Builds aUserProfileUser.- Specified by:
buildin interfaceObjectBuilder<UserProfileUser>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-