Class AssignMachineUserResourceRoleRequest


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

      • AssignMachineUserResourceRoleRequest

        public AssignMachineUserResourceRoleRequest()
    • Method Detail

      • getMachineUserName

        public String getMachineUserName()
        Getter for machineUserName. The machine user to assign the resource role to. Can be the user's name or CRN.
      • setMachineUserName

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

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

        public void setResourceRoleCrn​(String resourceRoleCrn)
        Setter for resourceRoleCrn. The CRN of the resource role to assign to the machine 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