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
ConstructorDescriptionIdServerConfigurationFile
(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 thebrandingConfiguration
record component.Returns the value of thedatabaseConfiguration
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thehistoryConfiguration
record component.Returns the value of thehttpConfiguration
record component.Returns the value of themailConfiguration
record component.Returns the value of themaintenanceConfiguration
record component.Returns the value of theopenTelemetry
record component.Returns the value of thepasswordExpiration
record component.Returns the value of therateLimit
record component.Returns the value of thesessionConfiguration
record component.final String
toString()
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 thebrandingConfiguration
record component.- Returns:
- the value of the
brandingConfiguration
record component
-
mailConfiguration
Returns the value of themailConfiguration
record component.- Returns:
- the value of the
mailConfiguration
record component
-
httpConfiguration
Returns the value of thehttpConfiguration
record component.- Returns:
- the value of the
httpConfiguration
record component
-
databaseConfiguration
Returns the value of thedatabaseConfiguration
record component.- Returns:
- the value of the
databaseConfiguration
record component
-
historyConfiguration
Returns the value of thehistoryConfiguration
record component.- Returns:
- the value of the
historyConfiguration
record component
-
sessionConfiguration
Returns the value of thesessionConfiguration
record component.- Returns:
- the value of the
sessionConfiguration
record component
-
rateLimit
Returns the value of therateLimit
record component.- Returns:
- the value of the
rateLimit
record component
-
passwordExpiration
Returns the value of thepasswordExpiration
record component.- Returns:
- the value of the
passwordExpiration
record component
-
maintenanceConfiguration
Returns the value of themaintenanceConfiguration
record component.- Returns:
- the value of the
maintenanceConfiguration
record component
-
openTelemetry
Returns the value of theopenTelemetry
record component.- Returns:
- the value of the
openTelemetry
record component
-