Class HTTPSettingsPatch.Builder

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

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

    • port

      public HTTPSettingsPatch.Builder port(@Nullable Integer port)
      Sets Port: the Port property
      Parameters:
      port - the value; null sends an explicit null
      Returns:
      this builder
    • sessionTimeout

      public HTTPSettingsPatch.Builder sessionTimeout(@Nullable Duration sessionTimeout)
      Sets SessionTimeout: the SessionTimeout property
      Parameters:
      sessionTimeout - the value; null sends an explicit null
      Returns:
      this builder
    • sessionMaxRequests

      public HTTPSettingsPatch.Builder sessionMaxRequests(@Nullable Integer sessionMaxRequests)
      Sets SessionMaxRequests: the SessionMaxRequests property
      Parameters:
      sessionMaxRequests - the value; null sends an explicit null
      Returns:
      this builder
    • requestEntityMaxSizeInKB

      public HTTPSettingsPatch.Builder requestEntityMaxSizeInKB(@Nullable Integer requestEntityMaxSizeInKB)
      Sets RequestEntityMaxSizeInKB: the RequestEntityMaxSizeInKB property
      Parameters:
      requestEntityMaxSizeInKB - the value; null sends an explicit null
      Returns:
      this builder
    • originAllowList

      public HTTPSettingsPatch.Builder originAllowList(@Nullable List<String> originAllowList)
      Sets OriginAllowList: the OriginAllowList property
      Parameters:
      originAllowList - the value; null sends an explicit null
      Returns:
      this builder
    • build

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