Package com.io7m.idstore.server.api
Record Class IdServerConfigurationFile
java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerConfigurationFile
- Record Components:
brandingConfiguration- The branding configurationmailConfiguration- The mail configurationhttpConfiguration- The HTTP configurationdatabaseConfiguration- The database configurationhistoryConfiguration- The history configurationopenTelemetry- The OpenTelemetry configurationrateLimit- The rate limiting configuration
- All Implemented Interfaces:
IdServerJSONConfigurationElementType
public record IdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerRateLimitConfiguration rateLimit, Optional<IdServerOpenTelemetryConfiguration> openTelemetry)
extends Record
implements IdServerJSONConfigurationElementType
The server configuration file.
-
Constructor Summary
ConstructorsConstructorDescriptionIdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerRateLimitConfiguration rateLimit, Optional<IdServerOpenTelemetryConfiguration> openTelemetry) The server configuration file. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebrandingConfigurationrecord component.Returns the value of thedatabaseConfigurationrecord 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 thehistoryConfigurationrecord component.Returns the value of thehttpConfigurationrecord component.Returns the value of themailConfigurationrecord component.Returns the value of theopenTelemetryrecord component.Returns the value of therateLimitrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.idstore.server.api.IdServerJSONConfigurationElementType
schemaId
-
Constructor Details
-
IdServerConfigurationFile
public IdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerRateLimitConfiguration rateLimit, Optional<IdServerOpenTelemetryConfiguration> openTelemetry) The server configuration file.- Parameters:
brandingConfiguration- The branding configurationmailConfiguration- The mail configurationhttpConfiguration- The HTTP configurationdatabaseConfiguration- The database configurationhistoryConfiguration- The history configurationopenTelemetry- The OpenTelemetry configurationrateLimit- The rate limiting configuration
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
brandingConfiguration
Returns the value of thebrandingConfigurationrecord component.- Returns:
- the value of the
brandingConfigurationrecord component
-
mailConfiguration
Returns the value of themailConfigurationrecord component.- Returns:
- the value of the
mailConfigurationrecord component
-
httpConfiguration
Returns the value of thehttpConfigurationrecord component.- Returns:
- the value of the
httpConfigurationrecord component
-
databaseConfiguration
Returns the value of thedatabaseConfigurationrecord component.- Returns:
- the value of the
databaseConfigurationrecord component
-
historyConfiguration
Returns the value of thehistoryConfigurationrecord component.- Returns:
- the value of the
historyConfigurationrecord component
-
rateLimit
Returns the value of therateLimitrecord component.- Returns:
- the value of the
rateLimitrecord component
-
openTelemetry
Returns the value of theopenTelemetryrecord component.- Returns:
- the value of the
openTelemetryrecord component
-