Class UpdateUserProfileDataRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.UpdateUserProfileDataRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class UpdateUserProfileDataRequest extends RequestBase implements JsonpSerializable
Updates specific data for the user profile that's associated with the
specified unique ID.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateUserProfileDataRequest.BuilderBuilder forUpdateUserProfileDataRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpdateUserProfileDataRequest>_DESERIALIZERJson deserializer forUpdateUserProfileDataRequeststatic Endpoint<UpdateUserProfileDataRequest,UpdateUserProfileDataResponse,ErrorResponse>_ENDPOINTEndpoint "security.update_user_profile_data". -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,JsonData>data()Non-searchable data that you want to associate with the user profile.java.lang.LongifPrimaryTerm()Only perform the operation if the document has this primary term.java.lang.LongifSeqNo()Only perform the operation if the document has this sequence number.java.util.Map<java.lang.String,JsonData>labels()Searchable data that you want to associate with the user profile.static UpdateUserProfileDataRequestof(java.util.function.Function<UpdateUserProfileDataRequest.Builder,ObjectBuilder<UpdateUserProfileDataRequest>> fn)Refreshrefresh()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.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupUpdateUserProfileDataRequestDeserializer(ObjectDeserializer<UpdateUserProfileDataRequest.Builder> op)java.lang.Stringuid()Required - A unique identifier for the user profile.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateUserProfileDataRequest -
_ENDPOINT
public static final Endpoint<UpdateUserProfileDataRequest,UpdateUserProfileDataResponse,ErrorResponse> _ENDPOINTEndpoint "security.update_user_profile_data".
-
-
Method Details
-
of
public static UpdateUserProfileDataRequest of(java.util.function.Function<UpdateUserProfileDataRequest.Builder,ObjectBuilder<UpdateUserProfileDataRequest>> fn) -
data
Non-searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
data -
ifPrimaryTerm
@Nullable public final java.lang.Long ifPrimaryTerm()Only perform the operation if the document has this primary term.API name:
if_primary_term -
ifSeqNo
@Nullable public final java.lang.Long ifSeqNo()Only perform the operation if the document has this sequence number.API name:
if_seq_no -
labels
Searchable data that you want to associate with the user profile. This field supports a nested data structure.API name:
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
public final java.lang.String uid()Required - A unique identifier for the user profile.API name:
uid -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupUpdateUserProfileDataRequestDeserializer
protected static void setupUpdateUserProfileDataRequestDeserializer(ObjectDeserializer<UpdateUserProfileDataRequest.Builder> op)
-