Class DeleteRoleMappingRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteRoleMappingRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class DeleteRoleMappingRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteRoleMappingRequest.Builder
Builder forDeleteRoleMappingRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteRoleMappingRequest,DeleteRoleMappingResponse,ElasticsearchError>
ENDPOINT
Endpoint "security.delete_role_mapping
". -
Constructor Summary
Constructors Constructor Description DeleteRoleMappingRequest(DeleteRoleMappingRequest.Builder builder)
DeleteRoleMappingRequest(java.util.function.Function<DeleteRoleMappingRequest.Builder,DeleteRoleMappingRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
name()
Required - Role-mapping namejakarta.json.JsonValue
refresh()
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<DeleteRoleMappingRequest,DeleteRoleMappingResponse,ElasticsearchError> ENDPOINTEndpoint "security.delete_role_mapping
".
-
-
Constructor Details
-
DeleteRoleMappingRequest
-
DeleteRoleMappingRequest
public DeleteRoleMappingRequest(java.util.function.Function<DeleteRoleMappingRequest.Builder,DeleteRoleMappingRequest.Builder> fn)
-
-
Method Details
-
name
public java.lang.String name()Required - Role-mapping nameAPI name:
name
-
refresh
@Nullable public jakarta.json.JsonValue refresh()Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.API name:
refresh
-