Class DeleteRoleResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DeleteRoleResponse.Builder>
co.elastic.clients.elasticsearch.security.DeleteRoleResponse.Builder
- All Implemented Interfaces:
WithJson<DeleteRoleResponse.Builder>,ObjectBuilder<DeleteRoleResponse>
- Enclosing class:
- DeleteRoleResponse
public static class DeleteRoleResponse.Builder
extends WithJsonObjectBuilderBase<DeleteRoleResponse.Builder>
implements ObjectBuilder<DeleteRoleResponse>
Builder for
DeleteRoleResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteRoleResponse.found(boolean value) Required - If the role is successfully deleted,foundistrue.protected DeleteRoleResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
found
Required - If the role is successfully deleted,foundistrue. Otherwise,foundisfalse.API name:
found -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DeleteRoleResponse.Builder>
-
build
Builds aDeleteRoleResponse.- Specified by:
buildin interfaceObjectBuilder<DeleteRoleResponse>- Throws:
NullPointerException- if some of the required fields are null.
-