Class AssignUserRoleRequest

java.lang.Object
com.cloudera.cdp.iam.model.AssignUserRoleRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class AssignUserRoleRequest extends Object
Request object for an assign user role request.
  • Constructor Details

    • AssignUserRoleRequest

      public AssignUserRoleRequest()
  • Method Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object