Interface EventLogEntry.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventLogEntry.Builder,EventLogEntry>, SdkBuilder<EventLogEntry.Builder,EventLogEntry>, SdkPojo
Enclosing class:
EventLogEntry

public static interface EventLogEntry.Builder extends SdkPojo, CopyableBuilder<EventLogEntry.Builder,EventLogEntry>
  • Method Details

    • id

      The system-generated unique ID of the event.

      Parameters:
      id - The system-generated unique ID of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventName

      EventLogEntry.Builder eventName(String eventName)

      The name of the event.

      Parameters:
      eventName - The name of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventType

      EventLogEntry.Builder eventType(String eventType)

      The type of the event.

      Parameters:
      eventType - The type of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventCategory

      EventLogEntry.Builder eventCategory(String eventCategory)

      The category for the event.

      Parameters:
      eventCategory - The category for the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventSource

      EventLogEntry.Builder eventSource(String eventSource)

      The source of the event.

      Parameters:
      eventSource - The source of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTime

      EventLogEntry.Builder eventTime(Instant eventTime)

      The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

      Parameters:
      eventTime - The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationType

      EventLogEntry.Builder operationType(String operationType)

      The type of the event.

      Parameters:
      operationType - The type of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operationType

      EventLogEntry.Builder operationType(OperationType operationType)

      The type of the event.

      Parameters:
      operationType - The type of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userIdentity

      EventLogEntry.Builder userIdentity(UserIdentity userIdentity)

      The system-generated unique ID of the user whose actions are recorded in the event.

      Parameters:
      userIdentity - The system-generated unique ID of the user whose actions are recorded in the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIdentity

      default EventLogEntry.Builder userIdentity(Consumer<UserIdentity.Builder> userIdentity)

      The system-generated unique ID of the user whose actions are recorded in the event.

      This is a convenience method that creates an instance of the UserIdentity.Builder avoiding the need to create one manually via UserIdentity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to userIdentity(UserIdentity).

      Parameters:
      userIdentity - a consumer that will call methods on UserIdentity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • projectInformation

      EventLogEntry.Builder projectInformation(ProjectInformation projectInformation)

      Information about the project where the event occurred.

      Parameters:
      projectInformation - Information about the project where the event occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectInformation

      default EventLogEntry.Builder projectInformation(Consumer<ProjectInformation.Builder> projectInformation)

      Information about the project where the event occurred.

      This is a convenience method that creates an instance of the ProjectInformation.Builder avoiding the need to create one manually via ProjectInformation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to projectInformation(ProjectInformation).

      Parameters:
      projectInformation - a consumer that will call methods on ProjectInformation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestId

      EventLogEntry.Builder requestId(String requestIdValue)

      The system-generated unique ID of the request.

      Parameters:
      requestIdValue - The system-generated unique ID of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestPayload

      EventLogEntry.Builder requestPayload(EventPayload requestPayload)

      Information about the payload of the request.

      Parameters:
      requestPayload - Information about the payload of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestPayload

      default EventLogEntry.Builder requestPayload(Consumer<EventPayload.Builder> requestPayload)

      Information about the payload of the request.

      This is a convenience method that creates an instance of the EventPayload.Builder avoiding the need to create one manually via EventPayload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requestPayload(EventPayload).

      Parameters:
      requestPayload - a consumer that will call methods on EventPayload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • responsePayload

      EventLogEntry.Builder responsePayload(EventPayload responsePayload)

      Information about the payload of the response, if any.

      Parameters:
      responsePayload - Information about the payload of the response, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responsePayload

      default EventLogEntry.Builder responsePayload(Consumer<EventPayload.Builder> responsePayload)

      Information about the payload of the response, if any.

      This is a convenience method that creates an instance of the EventPayload.Builder avoiding the need to create one manually via EventPayload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to responsePayload(EventPayload).

      Parameters:
      responsePayload - a consumer that will call methods on EventPayload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      EventLogEntry.Builder errorCode(String errorCode)

      The code of the error, if any.

      Parameters:
      errorCode - The code of the error, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceIpAddress

      EventLogEntry.Builder sourceIpAddress(String sourceIpAddress)

      The IP address of the user whose actions are recorded in the event.

      Parameters:
      sourceIpAddress - The IP address of the user whose actions are recorded in the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userAgent

      EventLogEntry.Builder userAgent(String userAgent)

      The user agent whose actions are recorded in the event.

      Parameters:
      userAgent - The user agent whose actions are recorded in the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.