Class 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.Object
    Data 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
      AuditStamp actor​(java.lang.String actor)  
      boolean equals​(java.lang.Object o)  
      @NotNull java.lang.String getActor()
      The entity (e.g.
      java.lang.String getImpersonator()
      The entity (e.g.
      java.lang.String getMessage()
      Additional context around how DataHub was informed of the particular change.
      @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.
      int hashCode()  
      AuditStamp impersonator​(java.lang.String impersonator)  
      AuditStamp message​(java.lang.String message)  
      void setActor​(java.lang.String actor)  
      void setImpersonator​(java.lang.String impersonator)  
      void setMessage​(java.lang.String message)  
      void setTime​(java.lang.Long time)  
      AuditStamp time​(java.lang.Long time)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuditStamp

        public AuditStamp()
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object