Class Policy


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:48.192-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