Class ApplicationGlobalUserPrivileges.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ApplicationGlobalUserPrivileges.Builder>
co.elastic.clients.elasticsearch.security.ApplicationGlobalUserPrivileges.Builder
- All Implemented Interfaces:
WithJson<ApplicationGlobalUserPrivileges.Builder>
,ObjectBuilder<ApplicationGlobalUserPrivileges>
- Enclosing class:
- ApplicationGlobalUserPrivileges
public static class ApplicationGlobalUserPrivileges.Builder
extends WithJsonObjectBuilderBase<ApplicationGlobalUserPrivileges.Builder>
implements ObjectBuilder<ApplicationGlobalUserPrivileges>
Builder for
ApplicationGlobalUserPrivileges
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aApplicationGlobalUserPrivileges
.manage
(ManageUserPrivileges value) Required - API name:manage
Required - API name:manage
protected ApplicationGlobalUserPrivileges.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
-
manage
Required - API name:manage
-
manage
public final ApplicationGlobalUserPrivileges.Builder manage(Function<ManageUserPrivileges.Builder, ObjectBuilder<ManageUserPrivileges>> fn) Required - API name:manage
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ApplicationGlobalUserPrivileges.Builder>
-
build
Builds aApplicationGlobalUserPrivileges
.- Specified by:
build
in interfaceObjectBuilder<ApplicationGlobalUserPrivileges>
- Throws:
NullPointerException
- if some of the required fields are null.
-