Class EnableUserProfileRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.EnableUserProfileRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<EnableUserProfileRequest>
- Enclosing class:
- EnableUserProfileRequest
public static class EnableUserProfileRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<EnableUserProfileRequest>
Builder for
EnableUserProfileRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description EnableUserProfileRequest
build()
Builds aEnableUserProfileRequest
.EnableUserProfileRequest.Builder
refresh(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.EnableUserProfileRequest.Builder
uid(java.lang.String value)
Required - 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
-
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 - Unique identifier for the user profile.API name:
uid
-
build
Builds aEnableUserProfileRequest
.- Specified by:
build
in interfaceObjectBuilder<EnableUserProfileRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-