Class DeleteRoleMappingRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteRoleMappingRequest
public class DeleteRoleMappingRequest extends RequestBase
Removes role mappings.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteRoleMappingRequest.BuilderBuilder 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,ErrorResponse>_ENDPOINTEndpoint "security.delete_role_mapping". -
Method Summary
Modifier and Type Method Description java.lang.Stringname()Required - Role-mapping namestatic DeleteRoleMappingRequestof(java.util.function.Function<DeleteRoleMappingRequest.Builder,ObjectBuilder<DeleteRoleMappingRequest>> fn)Refreshrefresh()Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteRoleMappingRequest,DeleteRoleMappingResponse,ErrorResponse> _ENDPOINTEndpoint "security.delete_role_mapping".
-
-
Method Details
-
of
public static DeleteRoleMappingRequest of(java.util.function.Function<DeleteRoleMappingRequest.Builder,ObjectBuilder<DeleteRoleMappingRequest>> fn) -
name
public final java.lang.String name()Required - Role-mapping nameAPI name:
name -
refresh
Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.API name:
refresh
-