Package com.strongdm.api
Class ResourceHistory
java.lang.Object
com.strongdm.api.ResourceHistory
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Activity that produced this change to the Resource.If this Resource was deleted, the time it was deleted.The complete Resource state at this time.The time at which the Resource state was recorded.void
setActivityId
(String in) The unique identifier of the Activity that produced this change to the Resource.void
setDeletedAt
(Date in) If this Resource was deleted, the time it was deleted.void
setResource
(Resource in) The complete Resource state at this time.void
setTimestamp
(Date in) The time at which the Resource state was recorded.
-
Constructor Details
-
ResourceHistory
public ResourceHistory()
-
-
Method Details
-
getActivityId
The unique identifier of the Activity that produced this change to the Resource. May be empty for some system-initiated updates. -
setActivityId
The unique identifier of the Activity that produced this change to the Resource. May be empty for some system-initiated updates. -
getDeletedAt
If this Resource was deleted, the time it was deleted. -
setDeletedAt
If this Resource was deleted, the time it was deleted. -
getResource
The complete Resource state at this time. -
setResource
The complete Resource state at this time. -
getTimestamp
The time at which the Resource state was recorded. -
setTimestamp
The time at which the Resource state was recorded.
-