Class ResourceRole

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-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 Details

    • ResourceRole

      public ResourceRole()
  • Method Details

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