Class AuditLogEntryPatch.Builder

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

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

    • id

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

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

      public AuditLogEntryPatch.Builder userName(@Nullable String userName)
      Sets UserName: The user who is recorded by this audit log entry.
      Parameters:
      userName - the value; null sends an explicit null
      Returns:
      this builder
    • description

      public AuditLogEntryPatch.Builder description(@Nullable String description)
      Sets Description: The description of this audit log entry.
      Parameters:
      description - the value; null sends an explicit null
      Returns:
      this builder
    • objectType

      public AuditLogEntryPatch.Builder objectType(@Nullable String objectType)
      Sets ObjectType: The type of this audit log entry.
      Parameters:
      objectType - the value; null sends an explicit null
      Returns:
      this builder
    • objectName

      public AuditLogEntryPatch.Builder objectName(@Nullable String objectName)
      Sets ObjectName: The name of this audit log entry.
      Parameters:
      objectName - the value; null sends an explicit null
      Returns:
      this builder
    • auditDetails

      public AuditLogEntryPatch.Builder auditDetails(@Nullable List<AuditDetailPatch> auditDetails)
      Sets AuditDetails: The collection of audit detail entries that are contained by this audit log entry. (nested, for a deep insert)
      Parameters:
      auditDetails - the value; null sends an explicit null
      Returns:
      this builder
    • bindAuditDetails

      public AuditLogEntryPatch.Builder bindAuditDetails(ODataPath... targets)
      Binds AuditDetails to existing entities (AuditDetails@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • build

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