Class AssignUserResourceRoleRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.192-07:00")
    public class AssignUserResourceRoleRequest
    extends Object
    Request object for an assign user resource role request.
    • Constructor Detail

      • AssignUserResourceRoleRequest

        public AssignUserResourceRoleRequest()
    • Method Detail

      • getUser

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

        public void setUser​(String user)
        Setter for user. The user to assign the resource role to. Can be the user's CRN or id.
      • getResourceRoleCrn

        public String getResourceRoleCrn()
        Getter for resourceRoleCrn. The CRN of the resource role to assign to the user.
      • setResourceRoleCrn

        public void setResourceRoleCrn​(String resourceRoleCrn)
        Setter for resourceRoleCrn. The CRN of the resource role to assign to the user.
      • getResourceCrn

        public String getResourceCrn()
        Getter for resourceCrn. The resource for which the resource role rights are granted.
      • setResourceCrn

        public void setResourceCrn​(String resourceCrn)
        Setter for resourceCrn. The resource for which the resource role rights are granted.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object