Class AuditStamp
- java.lang.Object
-
- io.datahubproject.openapi.generated.AuditStamp
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class AuditStamp extends java.lang.ObjectData captured on a resource/association/sub-resource level giving insight into when that resource/association/sub-resource moved into a particular lifecycle stage, and who acted to move it into that specific lifecycle stage.
-
-
Constructor Summary
Constructors Constructor Description AuditStamp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditStampactor(java.lang.String actor)booleanequals(java.lang.Object o)@NotNull java.lang.StringgetActor()The entity (e.g.java.lang.StringgetImpersonator()The entity (e.g.java.lang.StringgetMessage()Additional context around how DataHub was informed of the particular change.@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetTime()When did the resource/association/sub-resource move into the specific lifecycle stage represented by this AuditEvent.inthashCode()AuditStampimpersonator(java.lang.String impersonator)AuditStampmessage(java.lang.String message)voidsetActor(java.lang.String actor)voidsetImpersonator(java.lang.String impersonator)voidsetMessage(java.lang.String message)voidsetTime(java.lang.Long time)AuditStamptime(java.lang.Long time)java.lang.StringtoString()
-
-
-
Method Detail
-
time
public AuditStamp time(java.lang.Long time)
-
getTime
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTime()
When did the resource/association/sub-resource move into the specific lifecycle stage represented by this AuditEvent. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- time
-
setTime
public void setTime(java.lang.Long time)
-
actor
public AuditStamp actor(java.lang.String actor)
-
getActor
@NotNull public @NotNull java.lang.String getActor()
The entity (e.g. a member URN) which will be credited for moving the resource/association/sub-resource into the specific lifecycle stage. It is also the one used to authorize the change.- Returns:
- actor
-
setActor
public void setActor(java.lang.String actor)
-
impersonator
public AuditStamp impersonator(java.lang.String impersonator)
-
getImpersonator
public java.lang.String getImpersonator()
The entity (e.g. a service URN) which performs the change on behalf of the Actor and must be authorized to act as the Actor.- Returns:
- impersonator
-
setImpersonator
public void setImpersonator(java.lang.String impersonator)
-
message
public AuditStamp message(java.lang.String message)
-
getMessage
public java.lang.String getMessage()
Additional context around how DataHub was informed of the particular change. For example: was the change created by an automated process, or manually.- Returns:
- message
-
setMessage
public void setMessage(java.lang.String message)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-