Class AbstractPolicy

java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.AbstractPolicy
All Implemented Interfaces:
Serializable, Comparable<AbstractPolicy>
Direct Known Subclasses:
AbstractPersonaPolicy, AbstractPurposePolicy

public abstract class AbstractPolicy extends AtlanObject implements Comparable<AbstractPolicy>
See Also:
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(AbstractPolicy o)
      Specified by:
      compareTo in interface Comparable<AbstractPolicy>
    • getId

      public String getId()
      Unique identifier (GUID) of the policy.
    • getName

      public String getName()
      Name of the policy.
    • getDescription

      public String getDescription()
      Explanation of the policy.
    • getAllow

      public Boolean getAllow()
      Whether the actions are granted (true) or explicitly denied (false).
    • getCreatedAt

      public Long getCreatedAt()
      Time (epoch) at which this policy was created, in milliseconds.
    • getCreatedBy

      public String getCreatedBy()
      Username of the user who created this policy.
    • getUpdatedAt

      public Long getUpdatedAt()
      Time (epoch) at which this policy was updated, in milliseconds.
    • getUpdatedBy

      public String getUpdatedBy()
      Username of the user who updated this policy.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanObject
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject