Class Support.SupportBuilder

java.lang.Object
swiss.trustbroker.config.dto.Support.SupportBuilder
Enclosing class:
Support

public static class Support.SupportBuilder extends Object
  • Method Details

    • enabled

      public Support.SupportBuilder enabled(boolean enabled)
      Feature flag
      Returns:
      this.
    • webDumpPathRegEx

      public Support.SupportBuilder webDumpPathRegEx(String webDumpPathRegEx)
      Extends debug support with web message dumping on configured servlet path
      Returns:
      this.
      Since:
      1.13.0
    • debugMarkerName

      public Support.SupportBuilder debugMarkerName(String debugMarkerName)
      HTTP cookie or header name identifying the debug session.
      Returns:
      this.
    • debugEnabledValue

      public Support.SupportBuilder debugEnabledValue(String debugEnabledValue)
      Value of the cookie or header signaling debug ON e.g. 'true'
      Returns:
      this.
    • allowedNetworks

      public Support.SupportBuilder allowedNetworks(String allowedNetworks)
      Network header if present checked against the configured regexp e.g. 'INTRANET|INTERNET'
      Returns:
      this.
    • allowedClientIps

      public Support.SupportBuilder allowedClientIps(List<String> allowedClientIps)
      List of IP regexp rules matched against the IP address received from perimeter or socket e.g. '192\.168\..*'
      Returns:
      this.
    • level

      public Support.SupportBuilder level(Map<String,String> level)
      Logger names handle on a higher level than the default logging.logger level.
      Returns:
      this.
    • memoryLimitBytes

      public Support.SupportBuilder memoryLimitBytes(int memoryLimitBytes)
      Configure in-memory limits so network traffic cannot crash pods.
      Returns:
      this.
      Since:
      1.15.0
    • build

      public Support build()
    • toString

      public String toString()
      Overrides:
      toString in class Object