Record Class DebugBundleBrowserRelay.Config

java.lang.Object
java.lang.Record
com.debugbundle.sdk.web.DebugBundleBrowserRelay.Config
Enclosing class:
DebugBundleBrowserRelay

public static record DebugBundleBrowserRelay.Config(String projectToken, String endpoint, String projectMode, String localEventsDir, int rateLimitPerMinute, boolean durableWrite, String spoolDir, List<String> allowedOrigins, String service, String environment) extends Record
  • Constructor Details

    • Config

      public Config(String projectToken, String endpoint, String projectMode, String localEventsDir, int rateLimitPerMinute, boolean durableWrite, String spoolDir, List<String> allowedOrigins)
    • Config

      public Config(String projectToken, String endpoint, String projectMode, String localEventsDir, int rateLimitPerMinute, boolean durableWrite, String spoolDir, List<String> allowedOrigins, String service, String environment)
      Creates an instance of a Config record class.
      Parameters:
      projectToken - the value for the projectToken record component
      endpoint - the value for the endpoint record component
      projectMode - the value for the projectMode record component
      localEventsDir - the value for the localEventsDir record component
      rateLimitPerMinute - the value for the rateLimitPerMinute record component
      durableWrite - the value for the durableWrite record component
      spoolDir - the value for the spoolDir record component
      allowedOrigins - the value for the allowedOrigins record component
      service - the value for the service record component
      environment - the value for the environment record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • projectToken

      public String projectToken()
      Returns the value of the projectToken record component.
      Returns:
      the value of the projectToken record component
    • endpoint

      public String endpoint()
      Returns the value of the endpoint record component.
      Returns:
      the value of the endpoint record component
    • projectMode

      public String projectMode()
      Returns the value of the projectMode record component.
      Returns:
      the value of the projectMode record component
    • localEventsDir

      public String localEventsDir()
      Returns the value of the localEventsDir record component.
      Returns:
      the value of the localEventsDir record component
    • rateLimitPerMinute

      public int rateLimitPerMinute()
      Returns the value of the rateLimitPerMinute record component.
      Returns:
      the value of the rateLimitPerMinute record component
    • durableWrite

      public boolean durableWrite()
      Returns the value of the durableWrite record component.
      Returns:
      the value of the durableWrite record component
    • spoolDir

      public String spoolDir()
      Returns the value of the spoolDir record component.
      Returns:
      the value of the spoolDir record component
    • allowedOrigins

      public List<String> allowedOrigins()
      Returns the value of the allowedOrigins record component.
      Returns:
      the value of the allowedOrigins record component
    • service

      public String service()
      Returns the value of the service record component.
      Returns:
      the value of the service record component
    • environment

      public String environment()
      Returns the value of the environment record component.
      Returns:
      the value of the environment record component