Class TimestampLogEntry.Builder

All Implemented Interfaces:
Builder<TimestampLogEntry.Builder,TimestampLogEntry>, Supplier<TimestampLogEntry>
Enclosing class:
TimestampLogEntry

public static final class TimestampLogEntry.Builder extends AbstractLogEntry.Builder<TimestampLogEntry,TimestampLogEntry.Builder>
A fluent API builder for HostLogEntry.
  • Method Details

    • build

      public TimestampLogEntry build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Returns:
      instance of the built type
    • formatter

      public TimestampLogEntry.Builder formatter(DateTimeFormatter formatter)
      Configure a date time formatter to use with this log entry. Default format is "\'[\'dd/MMM/YYYY:HH:mm:ss ZZZ\']\'".
      Parameters:
      formatter - date time format to use, should contain text separaters (such as []).
      Returns:
      updated builder instance