Class PolicyStatement

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.842-07:00") public class PolicyStatement extends Object
A policy statement is a list of rights and zero or more resources on which the rights are granted.
  • Constructor Details

    • PolicyStatement

      public PolicyStatement()
  • Method Details

    • getRights

      public List<String> getRights()
      Getter for rights. The list of rights in the policy statement.
    • setRights

      public void setRights(List<String> rights)
      Setter for rights. The list of rights in the policy statement.
    • getResources

      public List<String> getResources()
      Getter for resources. The resources on which the rights are granted.
    • setResources

      public void setResources(List<String> resources)
      Setter for resources. The resources on which the rights are granted.
    • 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