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