Class ManageUserPrivileges.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ManageUserPrivileges.Builder>
co.elastic.clients.elasticsearch.security.ManageUserPrivileges.Builder
- All Implemented Interfaces:
WithJson<ManageUserPrivileges.Builder>
,ObjectBuilder<ManageUserPrivileges>
- Enclosing class:
- ManageUserPrivileges
public static class ManageUserPrivileges.Builder
extends WithJsonObjectBuilderBase<ManageUserPrivileges.Builder>
implements ObjectBuilder<ManageUserPrivileges>
Builder for
ManageUserPrivileges
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplications
(String value, String... values) Required - API name:applications
applications
(List<String> list) Required - API name:applications
build()
Builds aManageUserPrivileges
.protected ManageUserPrivileges.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applications
Required - API name:applications
Adds all elements of
list
toapplications
. -
applications
Required - API name:applications
Adds one or more values to
applications
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ManageUserPrivileges.Builder>
-
build
Builds aManageUserPrivileges
.- Specified by:
build
in interfaceObjectBuilder<ManageUserPrivileges>
- Throws:
NullPointerException
- if some of the required fields are null.
-