Class ResourceHistory

java.lang.Object
com.strongdm.api.ResourceHistory

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

    • ResourceHistory

      public ResourceHistory()
  • Method Details

    • getActivityId

      public String getActivityId()
      The unique identifier of the Activity that produced this change to the Resource. 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 Resource. May be empty for some system-initiated updates.
    • getDeletedAt

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

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

      public Resource getResource()
      The complete Resource state at this time.
    • setResource

      public void setResource(Resource in)
      The complete Resource state at this time.
    • getTimestamp

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

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