Class AssignUserRoleRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.947-07:00")
    public class AssignUserRoleRequest
    extends Object
    Request object for an assign user role request.
    • Constructor Detail

      • AssignUserRoleRequest

        public AssignUserRoleRequest()
    • Method Detail

      • getUser

        public String getUser()
        Getter for user. The user the role is assigned to. Can be the user's CRN or id.
      • setUser

        public void setUser​(String user)
        Setter for user. The user the role is assigned to. Can be the user's CRN or id.
      • getRole

        public String getRole()
        Getter for role. The role to assign to the user. Can be the role's CRN or name.
      • setRole

        public void setRole​(String role)
        Setter for role. The role to assign to the user. Can be the role's CRN or name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object