Class PolicyHistory

java.lang.Object
com.strongdm.api.PolicyHistory

public class PolicyHistory extends Object
PolicyHistory records the state of a Policy at a given point in time, where every change (create, update and delete) to a Policy produces a PolicyHistory record.
  • Constructor Details

    • PolicyHistory

      public PolicyHistory()
  • Method Details

    • getActivityId

      public String getActivityId()
      The unique identifier of the Activity that produced this change to the Policy. May be empty for some system-initiated updates.
    • setActivityId

      public void setActivityId(String in)
      The unique identifier of the Activity that produced this change to the Policy. May be empty for some system-initiated updates.
    • getDeletedAt

      public Date getDeletedAt()
      If this Policy was deleted, the time it was deleted.
    • setDeletedAt

      public void setDeletedAt(Date in)
      If this Policy was deleted, the time it was deleted.
    • getPolicy

      public Policy getPolicy()
      The complete Policy state at this time.
    • setPolicy

      public void setPolicy(Policy in)
      The complete Policy state at this time.
    • getTimestamp

      public Date getTimestamp()
      The time at which the Policy state was recorded.
    • setTimestamp

      public void setTimestamp(Date in)
      The time at which the Policy state was recorded.