Class EnableUserProfileRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.EnableUserProfileRequest
public class EnableUserProfileRequest extends RequestBase
Enables a user profile so it's visible in user profile searches.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnableUserProfileRequest.Builder
Builder forEnableUserProfileRequest
.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 Endpoint<EnableUserProfileRequest,EnableUserProfileResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.enable_user_profile
". -
Method Summary
Modifier and Type Method Description static EnableUserProfileRequest
of(java.util.function.Function<EnableUserProfileRequest.Builder,ObjectBuilder<EnableUserProfileRequest>> fn)
Refresh
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.java.lang.String
uid()
Required - Unique identifier for the user profile.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<EnableUserProfileRequest,EnableUserProfileResponse,ErrorResponse> _ENDPOINTEndpoint "security.enable_user_profile
".
-
-
Method Details
-
of
public static EnableUserProfileRequest of(java.util.function.Function<EnableUserProfileRequest.Builder,ObjectBuilder<EnableUserProfileRequest>> fn) -
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 - Unique identifier for the user profile.API name:
uid
-