Record Class IdServerDatabaseConfiguration

java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerDatabaseConfiguration
Record Components:
kind - The underlying SQL database kind
ownerRoleName - The name of the role that owns the database; used for database createOrUpdateInitialAdmin and migrations
ownerRolePassword - The password of the role that owns the database
workerRolePassword - The password of the worker role used for normal database operation
readerRolePassword - The password of the role used for read-only database access
address - The database address
port - The database port
databaseName - The database name
create - true if the database should be created
upgrade - true if the database schema should be upgraded
All Implemented Interfaces:
IdServerJSONConfigurationElementType

public record IdServerDatabaseConfiguration(IdServerDatabaseKind kind, String ownerRoleName, String ownerRolePassword, String workerRolePassword, Optional<String> readerRolePassword, String address, int port, String databaseName, boolean create, boolean upgrade) extends Record implements IdServerJSONConfigurationElementType
Configuration for the database.