Class UpdateUserProfileDataRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<UpdateUserProfileDataRequest.Builder>
co.elastic.clients.elasticsearch.security.UpdateUserProfileDataRequest.Builder
- All Implemented Interfaces:
WithJson<UpdateUserProfileDataRequest.Builder>,ObjectBuilder<UpdateUserProfileDataRequest>
- Enclosing class:
- UpdateUserProfileDataRequest
public static class UpdateUserProfileDataRequest.Builder extends RequestBase.AbstractBuilder<UpdateUserProfileDataRequest.Builder> implements ObjectBuilder<UpdateUserProfileDataRequest>
Builder for
UpdateUserProfileDataRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description UpdateUserProfileDataRequestbuild()Builds aUpdateUserProfileDataRequest.UpdateUserProfileDataRequest.Builderdata(java.lang.String key, JsonData value)Non-searchable data that you want to associate with the user profile.UpdateUserProfileDataRequest.Builderdata(java.util.Map<java.lang.String,JsonData> map)Non-searchable data that you want to associate with the user profile.UpdateUserProfileDataRequest.BuilderifPrimaryTerm(java.lang.Long value)Only perform the operation if the document has this primary term.UpdateUserProfileDataRequest.BuilderifSeqNo(java.lang.Long value)Only perform the operation if the document has this sequence number.UpdateUserProfileDataRequest.Builderlabels(java.lang.String key, JsonData value)Searchable data that you want to associate with the user profile.UpdateUserProfileDataRequest.Builderlabels(java.util.Map<java.lang.String,JsonData> map)Searchable data that you want to associate with the user profile.UpdateUserProfileDataRequest.Builderrefresh(Refresh value)If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search, if 'wait_for' then wait for a refresh to make this operation visible to search, if 'false' do nothing with refreshes.protected UpdateUserProfileDataRequest.Builderself()UpdateUserProfileDataRequest.Builderuid(java.lang.String value)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
public final UpdateUserProfileDataRequest.Builder data(java.util.Map<java.lang.String,JsonData> map)Non-searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
dataAdds all entries of
maptodata. -
data
Non-searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
dataAdds an entry to
data. -
ifPrimaryTerm
Only perform the operation if the document has this primary term.API name:
if_primary_term -
ifSeqNo
Only perform the operation if the document has this sequence number.API name:
if_seq_no -
labels
public final UpdateUserProfileDataRequest.Builder labels(java.util.Map<java.lang.String,JsonData> map)Searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
labelsAdds all entries of
maptolabels. -
labels
Searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
labelsAdds an entry to
labels. -
refresh
If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search, if 'wait_for' then wait for a refresh to make this operation visible to search, if 'false' do nothing with refreshes.API name:
refresh -
uid
Required - A unique identifier for the user profile.API name:
uid -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<UpdateUserProfileDataRequest.Builder>
-
build
Builds aUpdateUserProfileDataRequest.- Specified by:
buildin interfaceObjectBuilder<UpdateUserProfileDataRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-