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 configurationsessionConfiguration- The session configurationrateLimit- The rate limiting configurationpasswordExpiration- The password expiration configurationmaintenanceConfiguration- The maintenance configurationopenTelemetry- The OpenTelemetry configuration
- All Implemented Interfaces:
IdServerJSONConfigurationElementType
public record IdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerSessionConfiguration sessionConfiguration, IdServerRateLimitConfiguration rateLimit, IdServerPasswordExpirationConfiguration passwordExpiration, IdServerMaintenanceConfiguration maintenanceConfiguration, Optional<IdServerOpenTelemetryConfiguration> openTelemetry)
extends Record
implements IdServerJSONConfigurationElementType
The server configuration file.
-
Constructor Summary
ConstructorsConstructorDescriptionIdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerSessionConfiguration sessionConfiguration, IdServerRateLimitConfiguration rateLimit, IdServerPasswordExpirationConfiguration passwordExpiration, IdServerMaintenanceConfiguration maintenanceConfiguration, 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 themaintenanceConfigurationrecord component.Returns the value of theopenTelemetryrecord component.Returns the value of thepasswordExpirationrecord component.Returns the value of therateLimitrecord component.Returns the value of thesessionConfigurationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdServerConfigurationFile
public IdServerConfigurationFile(IdServerBrandingConfiguration brandingConfiguration, IdServerMailConfiguration mailConfiguration, IdServerHTTPConfiguration httpConfiguration, IdServerDatabaseConfiguration databaseConfiguration, IdServerHistoryConfiguration historyConfiguration, IdServerSessionConfiguration sessionConfiguration, IdServerRateLimitConfiguration rateLimit, IdServerPasswordExpirationConfiguration passwordExpiration, IdServerMaintenanceConfiguration maintenanceConfiguration, Optional<IdServerOpenTelemetryConfiguration> openTelemetry) The server configuration file.- Parameters:
brandingConfiguration- The branding configurationmailConfiguration- The mail configurationhttpConfiguration- The HTTP configurationdatabaseConfiguration- The database configurationhistoryConfiguration- The history configurationsessionConfiguration- The session configurationrateLimit- The rate limiting configurationpasswordExpiration- The password expiration configurationmaintenanceConfiguration- The maintenance configurationopenTelemetry- The OpenTelemetry 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
-
sessionConfiguration
Returns the value of thesessionConfigurationrecord component.- Returns:
- the value of the
sessionConfigurationrecord component
-
rateLimit
Returns the value of therateLimitrecord component.- Returns:
- the value of the
rateLimitrecord component
-
passwordExpiration
Returns the value of thepasswordExpirationrecord component.- Returns:
- the value of the
passwordExpirationrecord component
-
maintenanceConfiguration
Returns the value of themaintenanceConfigurationrecord component.- Returns:
- the value of the
maintenanceConfigurationrecord component
-
openTelemetry
Returns the value of theopenTelemetryrecord component.- Returns:
- the value of the
openTelemetryrecord component
-