Class Policy


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.947-07:00")
    public class Policy
    extends Object
    A policy contains a list of one or more policy statements.
    • Constructor Detail

      • Policy

        public Policy()
    • Method Detail

      • getCrn

        public String getCrn()
        Getter for crn. The policy crn.
      • setCrn

        public void setCrn​(String crn)
        Setter for crn. The policy crn.
      • getPolicyStatements

        public List<PolicyStatement> getPolicyStatements()
        Getter for policyStatements. The policy statements.
      • setPolicyStatements

        public void setPolicyStatements​(List<PolicyStatement> policyStatements)
        Setter for policyStatements. The policy statements.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object