Interface JobLog.Builder

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

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

    • event

      JobLog.Builder event(String event)

      The event represents the type of a log.

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

      The event represents the type of a log.

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

      JobLog.Builder eventData(JobLogEventData eventData)

      Metadata associated with a Job log.

      Parameters:
      eventData - Metadata associated with a Job log.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventData

      default JobLog.Builder eventData(Consumer<JobLogEventData.Builder> eventData)

      Metadata associated with a Job log.

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

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

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

      JobLog.Builder logDateTime(String logDateTime)

      The date and time the log was taken.

      Parameters:
      logDateTime - The date and time the log was taken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.