Class GetRoleResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.transport.endpoints.DictionaryResponse.AbstractBuilder<java.lang.String,Role,GetRoleResponse.Builder>
co.elastic.clients.elasticsearch.security.GetRoleResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetRoleResponse>
- Enclosing class:
- GetRoleResponse
public static class GetRoleResponse.Builder extends DictionaryResponse.AbstractBuilder<java.lang.String,Role,GetRoleResponse.Builder> implements ObjectBuilder<GetRoleResponse>
Builder for
GetRoleResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetRoleResponse
build()
Builds aGetRoleResponse
.protected GetRoleResponse.Builder
self()
Methods inherited from class co.elastic.clients.transport.endpoints.DictionaryResponse.AbstractBuilder
putResult, result, tKeySerializer, tValueSerializer
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
self
- Specified by:
self
in classDictionaryResponse.AbstractBuilder<java.lang.String,Role,GetRoleResponse.Builder>
-
build
Builds aGetRoleResponse
.- Specified by:
build
in interfaceObjectBuilder<GetRoleResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-