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