Class DeleteRoleMappingRequest
java.lang.Object
org.elasticsearch.client.security.DeleteRoleMappingRequest
- All Implemented Interfaces:
Validatable
public final class DeleteRoleMappingRequest extends java.lang.Object implements Validatable
Request object to delete a role mapping.
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
Constructors Constructor Description DeleteRoleMappingRequest(java.lang.String name, RefreshPolicy refreshPolicy)
Constructor for DeleteRoleMappingRequest -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
RefreshPolicy
getRefreshPolicy()
int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
DeleteRoleMappingRequest
Constructor for DeleteRoleMappingRequest- Parameters:
name
- role mapping name to be deletedrefreshPolicy
- refresh policyRefreshPolicy
for the request, defaults toRefreshPolicy.getDefault()
-
-
Method Details
-
getName
public java.lang.String getName() -
getRefreshPolicy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-