Class DeleteRoleMappingResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DeleteRoleMappingResponse.Builder>
co.elastic.clients.elasticsearch.security.DeleteRoleMappingResponse.Builder
- All Implemented Interfaces:
WithJson<DeleteRoleMappingResponse.Builder>,ObjectBuilder<DeleteRoleMappingResponse>
- Enclosing class:
- DeleteRoleMappingResponse
public static class DeleteRoleMappingResponse.Builder
extends WithJsonObjectBuilderBase<DeleteRoleMappingResponse.Builder>
implements ObjectBuilder<DeleteRoleMappingResponse>
Builder for
DeleteRoleMappingResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteRoleMappingResponse.found(boolean value) Required - If the mapping is successfully deleted,foundistrue.protected DeleteRoleMappingResponse.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 mapping is successfully deleted,foundistrue. Otherwise,foundisfalse.API name:
found -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DeleteRoleMappingResponse.Builder>
-
build
Builds aDeleteRoleMappingResponse.- Specified by:
buildin interfaceObjectBuilder<DeleteRoleMappingResponse>- Throws:
NullPointerException- if some of the required fields are null.
-