Class LogEvent

java.lang.Object
com.okta.sdk.resource.model.LogEvent
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class LogEvent extends Object implements Serializable
LogEvent
See Also:
  • Field Details

  • Constructor Details

    • LogEvent

      public LogEvent()
  • Method Details

    • actor

      public LogEvent actor(LogActor actor)
    • getActor

      @Nullable public LogActor getActor()
      Get actor
      Returns:
      actor
    • setActor

      public void setActor(LogActor actor)
    • authenticationContext

      public LogEvent authenticationContext(LogAuthenticationContext authenticationContext)
    • getAuthenticationContext

      @Nullable public LogAuthenticationContext getAuthenticationContext()
      Get authenticationContext
      Returns:
      authenticationContext
    • setAuthenticationContext

      public void setAuthenticationContext(LogAuthenticationContext authenticationContext)
    • client

      public LogEvent client(LogClient client)
    • getClient

      @Nullable public LogClient getClient()
      Get client
      Returns:
      client
    • setClient

      public void setClient(LogClient client)
    • debugContext

      public LogEvent debugContext(LogDebugContext debugContext)
    • getDebugContext

      @Nullable public LogDebugContext getDebugContext()
      Get debugContext
      Returns:
      debugContext
    • setDebugContext

      public void setDebugContext(LogDebugContext debugContext)
    • getDisplayMessage

      @Nullable public String getDisplayMessage()
      The display message for an event
      Returns:
      displayMessage
    • getEventType

      @Nullable public String getEventType()
      The published event type. Event instances are categorized by action in the event type attribute. This attribute is key to navigating the System Log through expression filters. See [Event Types catalog](https://developer.okta.com/docs/reference/api/event-types/#catalog) for a complete list of System Log event types.
      Returns:
      eventType
    • getLegacyEventType

      @Nullable public String getLegacyEventType()
      Associated Events API Action `objectType` attribute value
      Returns:
      legacyEventType
    • outcome

      public LogEvent outcome(LogOutcome outcome)
    • getOutcome

      @Nullable public LogOutcome getOutcome()
      Get outcome
      Returns:
      outcome
    • setOutcome

      public void setOutcome(LogOutcome outcome)
    • getPublished

      @Nullable public OffsetDateTime getPublished()
      Timestamp when the event is published
      Returns:
      published
    • request

      public LogEvent request(LogRequest request)
    • getRequest

      @Nullable public LogRequest getRequest()
      Get request
      Returns:
      request
    • setRequest

      public void setRequest(LogRequest request)
    • securityContext

      public LogEvent securityContext(LogSecurityContext securityContext)
    • getSecurityContext

      @Nullable public LogSecurityContext getSecurityContext()
      Get securityContext
      Returns:
      securityContext
    • setSecurityContext

      public void setSecurityContext(LogSecurityContext securityContext)
    • severity

      public LogEvent severity(LogSeverity severity)
    • getSeverity

      @Nullable public LogSeverity getSeverity()
      Get severity
      Returns:
      severity
    • setSeverity

      public void setSeverity(LogSeverity severity)
    • getTarget

      @Nullable public List<LogTarget> getTarget()
      The entity that an actor performs an action on. Targets can be anything, such as an app user, a sign-in token, or anything else. > **Note:** When searching the target array, search for a given `type` rather than the array location. Target types, such as `User` and `AppInstance`, for a given `eventType` are not always in the same array location.
      Returns:
      target
    • transaction

      public LogEvent transaction(LogTransaction transaction)
    • getTransaction

      @Nullable public LogTransaction getTransaction()
      Get transaction
      Returns:
      transaction
    • setTransaction

      public void setTransaction(LogTransaction transaction)
    • getUuid

      @Nullable public String getUuid()
      Unique identifier for an individual event
      Returns:
      uuid
    • getVersion

      @Nullable public String getVersion()
      Versioning indicator
      Returns:
      version
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object