Class Role


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.947-07:00")
    public class Role
    extends Object
    Information about a role.
    • Constructor Detail

      • Role

        public Role()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object