Class TransactionLogEntryPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.TransactionLogEntryPatch.Builder
Enclosing class:
TransactionLogEntryPatch

public static final class TransactionLogEntryPatch.Builder extends Object
Builds a TransactionLogEntryPatch; each setter replaces what an earlier call set.
  • Method Details

    • id

      public TransactionLogEntryPatch.Builder id(@Nullable Long id)
      Sets ID: The ID of the transaction log entry.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • changeSetID

      public TransactionLogEntryPatch.Builder changeSetID(@Nullable String changeSetID)
      Sets ChangeSetID: The ID of the changeset in the transaction log entry.
      Parameters:
      changeSetID - the value; null sends an explicit null
      Returns:
      this builder
    • timeStamp

      public TransactionLogEntryPatch.Builder timeStamp(@Nullable OffsetDateTime timeStamp)
      Sets TimeStamp: The date and time of the transaction log entry.
      Parameters:
      timeStamp - the value; null sends an explicit null
      Returns:
      this builder
    • replicationTime

      public TransactionLogEntryPatch.Builder replicationTime(@Nullable OffsetDateTime replicationTime)
      Sets ReplicationTime: The replication time of the TM1 server for the transaction log entry.
      Parameters:
      replicationTime - the value; null sends an explicit null
      Returns:
      this builder
    • user

      public TransactionLogEntryPatch.Builder user(@Nullable String user)
      Sets User: The user who completed the changeset in the transaction.
      Parameters:
      user - the value; null sends an explicit null
      Returns:
      this builder
    • cube

      public TransactionLogEntryPatch.Builder cube(@Nullable String cube)
      Sets Cube: The cube that was acted on in the transaction.
      Parameters:
      cube - the value; null sends an explicit null
      Returns:
      this builder
    • tuple

      public TransactionLogEntryPatch.Builder tuple(@Nullable List<String> tuple)
      Sets Tuple: A collection of tuples that were acted on in the transaction.
      Parameters:
      tuple - the value; null sends an explicit null
      Returns:
      this builder
    • oldValue

      public TransactionLogEntryPatch.Builder oldValue(@Nullable Object oldValue)
      Sets OldValue: The previous value of the changed tuple in the transaction.
      Parameters:
      oldValue - the value; null sends an explicit null
      Returns:
      this builder
    • newValue

      public TransactionLogEntryPatch.Builder newValue(@Nullable Object newValue)
      Sets NewValue: The new value of the changed tuple in the transaction.
      Parameters:
      newValue - the value; null sends an explicit null
      Returns:
      this builder
    • statusMessage

      public TransactionLogEntryPatch.Builder statusMessage(@Nullable String statusMessage)
      Sets StatusMessage: The status message of the transaction.
      Parameters:
      statusMessage - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public TransactionLogEntryPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch