Class PutRoleMappingResponse


  • public final class PutRoleMappingResponse
    extends java.lang.Object
    Response when adding/updating a role mapping. Returns a boolean field for whether the role mapping was created or updated.
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      static PutRoleMappingResponse fromXContent​(XContentParser parser)  
      int hashCode()  
      boolean isCreated()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PutRoleMappingResponse

        public PutRoleMappingResponse​(boolean created)
    • Method Detail

      • isCreated

        public boolean isCreated()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object