Class EntityAudit.EntityAuditBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>>

java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.search.EntityAudit.EntityAuditBuilder<C,B>
Enclosing class:
EntityAudit

public abstract static class EntityAudit.EntityAuditBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>> extends AtlanObject.AtlanObjectBuilder<C,B>
  • Constructor Details

    • EntityAuditBuilder

      public EntityAuditBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class AtlanObject.AtlanObjectBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>>
    • entityQualifiedName

      public B entityQualifiedName(String entityQualifiedName)
      Unique name of the asset.
      Returns:
      this.
    • typeName

      public B typeName(String typeName)
      Type of the asset.
      Returns:
      this.
    • entityId

      public B entityId(String entityId)
      Unique identifier (GUID) of the asset.
      Returns:
      this.
    • timestamp

      public B timestamp(Long timestamp)
      Time (epoch) at which the activity started, in milliseconds.
      Returns:
      this.
    • created

      public B created(Long created)
      Time (epoch) at which the activity completed, in milliseconds.
      Returns:
      this.
    • user

      public B user(String user)
      User who carried out the activity.
      Returns:
      this.
    • action

      public B action(AuditActionType action)
      The type of activity that was done.
      Returns:
      this.
    • details

      public B details(Object details)
      Unused.
      Returns:
      this.
    • eventKey

      public B eventKey(String eventKey)
      Unique identifier of the activity.
      Returns:
      this.
    • entity

      public B entity(Object entity)
      Unused.
      Returns:
      this.
    • type

      public B type(Object type)
      Unused.
      Returns:
      this.
    • detail

      public B detail(AuditDetail detail)
      Details of the activity. In practice this will either be details about an Atlan tag (for Atlan tag- related actions) or an asset (for other actions).
      Returns:
      this.
    • entityDetail

      public B entityDetail(Asset entityDetail)
      Minimal details about the asset that was acted upon. Note that this contains current details about the asset, not the state of the asset immediately before or after the given activity.
      Returns:
      this.
    • headers

      public B headers(Map<String,String> headers)
      Headers detailing how the action was taken, if not by a user.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class AtlanObject.AtlanObjectBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class AtlanObject.AtlanObjectBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class AtlanObject.AtlanObjectBuilder<C extends EntityAudit,B extends EntityAudit.EntityAuditBuilder<C,B>>