Package com.debugbundle.sdk.web
Record Class DebugBundleBrowserRelay.Config
java.lang.Object
java.lang.Record
com.debugbundle.sdk.web.DebugBundleBrowserRelay.Config
- Enclosing class:
DebugBundleBrowserRelay
-
Constructor Summary
ConstructorsConstructorDescriptionConfig(String projectToken, String endpoint, String projectMode, String localEventsDir, int rateLimitPerMinute, boolean durableWrite, String spoolDir, List<String> allowedOrigins) 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 aConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedOriginsrecord component.booleanReturns the value of thedurableWriterecord component.endpoint()Returns the value of theendpointrecord component.Returns the value of theenvironmentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocalEventsDirrecord component.Returns the value of theprojectModerecord component.Returns the value of theprojectTokenrecord component.intReturns the value of therateLimitPerMinuterecord component.service()Returns the value of theservicerecord component.spoolDir()Returns the value of thespoolDirrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Config
-
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 aConfigrecord class.- Parameters:
projectToken- the value for theprojectTokenrecord componentendpoint- the value for theendpointrecord componentprojectMode- the value for theprojectModerecord componentlocalEventsDir- the value for thelocalEventsDirrecord componentrateLimitPerMinute- the value for therateLimitPerMinuterecord componentdurableWrite- the value for thedurableWriterecord componentspoolDir- the value for thespoolDirrecord componentallowedOrigins- the value for theallowedOriginsrecord componentservice- the value for theservicerecord componentenvironment- the value for theenvironmentrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
projectToken
Returns the value of theprojectTokenrecord component.- Returns:
- the value of the
projectTokenrecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
projectMode
Returns the value of theprojectModerecord component.- Returns:
- the value of the
projectModerecord component
-
localEventsDir
Returns the value of thelocalEventsDirrecord component.- Returns:
- the value of the
localEventsDirrecord component
-
rateLimitPerMinute
public int rateLimitPerMinute()Returns the value of therateLimitPerMinuterecord component.- Returns:
- the value of the
rateLimitPerMinuterecord component
-
durableWrite
public boolean durableWrite()Returns the value of thedurableWriterecord component.- Returns:
- the value of the
durableWriterecord component
-
spoolDir
Returns the value of thespoolDirrecord component.- Returns:
- the value of the
spoolDirrecord component
-
allowedOrigins
Returns the value of theallowedOriginsrecord component.- Returns:
- the value of the
allowedOriginsrecord component
-
service
Returns the value of theservicerecord component.- Returns:
- the value of the
servicerecord component
-
environment
Returns the value of theenvironmentrecord component.- Returns:
- the value of the
environmentrecord component
-