Class ConnStringInfo


  • public class ConnStringInfo
    extends Object
    Database connection string information.
    • Constructor Detail

      • ConnStringInfo

        public ConnStringInfo()
    • Method Detail

      • name

        public String name()
        Get name of connection string.
        Returns:
        the name value
      • withName

        public ConnStringInfo withName​(String name)
        Set name of connection string.
        Parameters:
        name - the name value to set
        Returns:
        the ConnStringInfo object itself.
      • connectionString

        public String connectionString()
        Get connection string value.
        Returns:
        the connectionString value
      • withConnectionString

        public ConnStringInfo withConnectionString​(String connectionString)
        Set connection string value.
        Parameters:
        connectionString - the connectionString value to set
        Returns:
        the ConnStringInfo object itself.
      • type

        public ConnectionStringType type()
        Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'.
        Returns:
        the type value
      • withType

        public ConnStringInfo withType​(ConnectionStringType type)
        Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'.
        Parameters:
        type - the type value to set
        Returns:
        the ConnStringInfo object itself.