Class Policy

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class Policy extends Object
A policy contains a list of one or more policy statements.
  • Constructor Details

    • Policy

      public Policy()
  • Method Details

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