Class PutRoleMappingResponse
java.lang.Object
org.elasticsearch.client.security.PutRoleMappingResponse
Response when adding/updating a role mapping. Returns a boolean field for
whether the role mapping was created or updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static PutRoleMappingResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) int
hashCode()
boolean
-
Constructor Details
-
PutRoleMappingResponse
public PutRoleMappingResponse(boolean created)
-
-
Method Details
-
isCreated
public boolean isCreated() -
equals
-
hashCode
public int hashCode() -
fromXContent
public static PutRoleMappingResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-