Class GetUserProfileRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetUserProfileRequest.Builder>
co.elastic.clients.elasticsearch.security.GetUserProfileRequest.Builder
- All Implemented Interfaces:
WithJson<GetUserProfileRequest.Builder>,ObjectBuilder<GetUserProfileRequest>
- Enclosing class:
- GetUserProfileRequest
public static class GetUserProfileRequest.Builder extends RequestBase.AbstractBuilder<GetUserProfileRequest.Builder> implements ObjectBuilder<GetUserProfileRequest>
Builder for
GetUserProfileRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetUserProfileRequestbuild()Builds aGetUserProfileRequest.GetUserProfileRequest.Builderdata(java.lang.String value, java.lang.String... values)List of filters for thedatafield of the profile document.GetUserProfileRequest.Builderdata(java.util.List<java.lang.String> list)List of filters for thedatafield of the profile document.protected GetUserProfileRequest.Builderself()GetUserProfileRequest.Builderuid(java.lang.String value, java.lang.String... values)Required - A unique identifier for the user profile.GetUserProfileRequest.Builderuid(java.util.List<java.lang.String> list)Required - A unique identifier for the user profile.Methods 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
-
data
List of filters for thedatafield of the profile document. To return all content usedata=*. To return a subset of content usedata=<key>to retrieve content nested under the specified<key>. By default returns nodatacontent.API name:
dataAdds all elements of
listtodata. -
data
public final GetUserProfileRequest.Builder data(java.lang.String value, java.lang.String... values)List of filters for thedatafield of the profile document. To return all content usedata=*. To return a subset of content usedata=<key>to retrieve content nested under the specified<key>. By default returns nodatacontent.API name:
dataAdds one or more values to
data. -
uid
Required - A unique identifier for the user profile.API name:
uidAdds all elements of
listtouid. -
uid
Required - A unique identifier for the user profile.API name:
uidAdds one or more values to
uid. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetUserProfileRequest.Builder>
-
build
Builds aGetUserProfileRequest.- Specified by:
buildin interfaceObjectBuilder<GetUserProfileRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-