Class GetUserPrivilegesResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.GetUserPrivilegesResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetUserPrivilegesResponse>
- Enclosing class:
- GetUserPrivilegesResponse
public static class GetUserPrivilegesResponse.Builder extends java.lang.Object implements ObjectBuilder<GetUserPrivilegesResponse>
Builder for
GetUserPrivilegesResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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
-
applications
API name:applications -
applications
API name:applications -
addApplications
Add a value toapplications(List), creating the list if needed. 4 -
applications
public GetUserPrivilegesResponse.Builder applications(java.util.function.Function<ApplicationPrivileges.Builder,ObjectBuilder<ApplicationPrivileges>> fn)Setapplications(List)to a singleton list. -
addApplications
public GetUserPrivilegesResponse.Builder addApplications(java.util.function.Function<ApplicationPrivileges.Builder,ObjectBuilder<ApplicationPrivileges>> fn)Add a value toapplications(List), creating the list if needed. 5 -
cluster
API name:cluster -
cluster
API name:cluster -
addCluster
Add a value tocluster(List), creating the list if needed. 4 -
global
API name:global -
global
API name:global -
addGlobal
Add a value toglobal(List), creating the list if needed. 4 -
global
public GetUserPrivilegesResponse.Builder global(java.util.function.Function<GlobalPrivilege.Builder,ObjectBuilder<GlobalPrivilege>> fn)Setglobal(List)to a singleton list. -
addGlobal
public GetUserPrivilegesResponse.Builder addGlobal(java.util.function.Function<GlobalPrivilege.Builder,ObjectBuilder<GlobalPrivilege>> fn)Add a value toglobal(List), creating the list if needed. 5 -
indices
API name:indices -
indices
API name:indices -
addIndices
Add a value toindices(List), creating the list if needed. 4 -
indices
public GetUserPrivilegesResponse.Builder indices(java.util.function.Function<IndicesPrivileges.Builder,ObjectBuilder<IndicesPrivileges>> fn)Setindices(List)to a singleton list. -
addIndices
public GetUserPrivilegesResponse.Builder addIndices(java.util.function.Function<IndicesPrivileges.Builder,ObjectBuilder<IndicesPrivileges>> fn)Add a value toindices(List), creating the list if needed. 5 -
runAs
API name:run_as -
runAs
API name:run_as -
addRunAs
Add a value torunAs(List), creating the list if needed. 4 -
build
Builds aGetUserPrivilegesResponse.- Specified by:
buildin interfaceObjectBuilder<GetUserPrivilegesResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-