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 booleanequals(java.lang.Object obj)java.lang.StringgetName()RefreshPolicygetRefreshPolicy()inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
DeleteRoleMappingRequest
Constructor for DeleteRoleMappingRequest- Parameters:
name- role mapping name to be deletedrefreshPolicy- refresh policyRefreshPolicyfor the request, defaults toRefreshPolicy.getDefault()
-
-
Method Details
-
getName
public java.lang.String getName() -
getRefreshPolicy
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-