Class Role

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class Role extends Object
Information about a role.
  • Constructor Details

    • Role

      public Role()
  • Method Details

    • getCrn

      public String getCrn()
      Getter for crn. The role's CRN.
    • setCrn

      public void setCrn(String crn)
      Setter for crn. The role's CRN.
    • getPolicies

      public List<Policy> getPolicies()
      Getter for policies. The list of policies that belong to the role. Cannot be empty.
    • setPolicies

      public void setPolicies(List<Policy> policies)
      Setter for policies. The list of policies that belong to the role. Cannot be empty.
    • 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