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 GetUserProfileRequest
build()
Builds aGetUserProfileRequest
.GetUserProfileRequest.Builder
data(java.lang.String value, java.lang.String... values)
List of filters for thedata
field of the profile document.GetUserProfileRequest.Builder
data(java.util.List<java.lang.String> list)
List of filters for thedata
field of the profile document.GetUserProfileRequest.Builder
uid(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, _mapPutAll
Methods 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 thedata
field 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 nodata
content.API name:
data
Adds all elements of
list
todata
. -
data
public final GetUserProfileRequest.Builder data(java.lang.String value, java.lang.String... values)List of filters for thedata
field 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 nodata
content.API name:
data
Adds one or more values to
data
. -
uid
Required - A unique identifier for the user profile.API name:
uid
-
build
Builds aGetUserProfileRequest
.- Specified by:
build
in interfaceObjectBuilder<GetUserProfileRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-