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