Class SuggestUserProfilesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SuggestUserProfilesRequest.Builder>
co.elastic.clients.elasticsearch.security.SuggestUserProfilesRequest.Builder
- All Implemented Interfaces:
- WithJson<SuggestUserProfilesRequest.Builder>,- ObjectBuilder<SuggestUserProfilesRequest>
- Enclosing class:
- SuggestUserProfilesRequest
public static class SuggestUserProfilesRequest.Builder
extends RequestBase.AbstractBuilder<SuggestUserProfilesRequest.Builder>
implements ObjectBuilder<SuggestUserProfilesRequest>
Builder for 
SuggestUserProfilesRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aSuggestUserProfilesRequest.A comma-separated list of filters for thedatafield of the profile document.A comma-separated list of filters for thedatafield of the profile document.Extra search criteria to improve relevance of the suggestion result.Extra search criteria to improve relevance of the suggestion result.A query string used to match name-related fields in user profile documents.protected SuggestUserProfilesRequest.Builderself()The number of profiles to return.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
dataA comma-separated 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, the API returns nodatacontent. It is an error to specifydataas both the query parameter and the request body field.API name: dataAdds all elements of listtodata.
- 
dataA comma-separated 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, the API returns nodatacontent. It is an error to specifydataas both the query parameter and the request body field.API name: dataAdds one or more values to data.
- 
hintExtra search criteria to improve relevance of the suggestion result. Profiles matching the spcified hint are ranked higher in the response. Profiles not matching the hint aren't excluded from the response as long as the profile matches thenamefield query.API name: hint
- 
hintExtra search criteria to improve relevance of the suggestion result. Profiles matching the spcified hint are ranked higher in the response. Profiles not matching the hint aren't excluded from the response as long as the profile matches thenamefield query.API name: hint
- 
nameA query string used to match name-related fields in user profile documents. Name-related fields are the user'susername,full_name, andemail.API name: name
- 
sizeThe number of profiles to return.API name: size
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<SuggestUserProfilesRequest.Builder>
 
- 
buildBuilds aSuggestUserProfilesRequest.- Specified by:
- buildin interface- ObjectBuilder<SuggestUserProfilesRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-