Class PutRoleResponse
- java.lang.Object
-
- org.elasticsearch.client.security.PutRoleResponse
-
public final class PutRoleResponse extends Object
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
Constructors Constructor Description PutRoleResponse(boolean created)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static PutRoleResponsefromXContent(XContentParser parser)inthashCode()booleanisCreated()
-
-
-
Method Detail
-
isCreated
public boolean isCreated()
-
fromXContent
public static PutRoleResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-