Class EventLogSettingsPatch.Builder

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

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

    • enable

      public EventLogSettingsPatch.Builder enable(@Nullable Boolean enable)
      Sets Enable: the Enable property
      Parameters:
      enable - the value; null sends an explicit null
      Returns:
      this builder
    • scanFrequency

      public EventLogSettingsPatch.Builder scanFrequency(@Nullable Duration scanFrequency)
      Sets ScanFrequency: the ScanFrequency property
      Parameters:
      scanFrequency - the value; null sends an explicit null
      Returns:
      this builder
    • thresholdForThreadRunningTime

      public EventLogSettingsPatch.Builder thresholdForThreadRunningTime(@Nullable Duration thresholdForThreadRunningTime)
      Sets ThresholdForThreadRunningTime: the ThresholdForThreadRunningTime property
      Parameters:
      thresholdForThreadRunningTime - the value; null sends an explicit null
      Returns:
      this builder
    • thresholdForThreadWaitingTime

      public EventLogSettingsPatch.Builder thresholdForThreadWaitingTime(@Nullable Duration thresholdForThreadWaitingTime)
      Sets ThresholdForThreadWaitingTime: the ThresholdForThreadWaitingTime property
      Parameters:
      thresholdForThreadWaitingTime - the value; null sends an explicit null
      Returns:
      this builder
    • thresholdForThreadBlockingNumber

      public EventLogSettingsPatch.Builder thresholdForThreadBlockingNumber(@Nullable Integer thresholdForThreadBlockingNumber)
      Sets ThresholdForThreadBlockingNumber: the ThresholdForThreadBlockingNumber property
      Parameters:
      thresholdForThreadBlockingNumber - the value; null sends an explicit null
      Returns:
      this builder
    • thresholdForPooledMemoryInMB

      public EventLogSettingsPatch.Builder thresholdForPooledMemoryInMB(@Nullable Integer thresholdForPooledMemoryInMB)
      Sets ThresholdForPooledMemoryInMB: the ThresholdForPooledMemoryInMB property
      Parameters:
      thresholdForPooledMemoryInMB - the value; null sends an explicit null
      Returns:
      this builder
    • build

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