Class GetUserProfileRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.GetUserProfileRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetUserProfileRequest>
- Enclosing class:
- GetUserProfileRequest
public static class GetUserProfileRequest.Builder extends ObjectBuilderBase 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.GetUserProfileRequest.Builderuid(java.lang.String value)Required - A unique identifier for the user profile.Methods 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:
uid -
build
Builds aGetUserProfileRequest.- Specified by:
buildin interfaceObjectBuilder<GetUserProfileRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-