Class ResourceRole


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.947-07:00")
    public class ResourceRole
    extends Object
    Information about a resource role. A resource role is a role that grants a collection of rights to a user on resources.
    • Constructor Detail

      • ResourceRole

        public ResourceRole()
    • Method Detail

      • getCrn

        public String getCrn()
        Getter for crn. The CRN of the resource role.
      • setCrn

        public void setCrn​(String crn)
        Setter for crn. The CRN of the resource role.
      • getRights

        public List<String> getRights()
        Getter for rights. The rights granted by this role.
      • setRights

        public void setRights​(List<String> rights)
        Setter for rights. The rights granted by this role.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object