Class ConnStringInfo
java.lang.Object
com.microsoft.azure.management.appservice.ConnStringInfo
Database connection string information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet connection string value.name()
Get name of connection string.type()
Get type of database.withConnectionString
(String connectionString) Set connection string value.Set name of connection string.withType
(ConnectionStringType type) Set type of database.
-
Constructor Details
-
ConnStringInfo
public ConnStringInfo()
-
-
Method Details
-
name
Get name of connection string.- Returns:
- the name value
-
withName
Set name of connection string.- Parameters:
name
- the name value to set- Returns:
- the ConnStringInfo object itself.
-
connectionString
Get connection string value.- Returns:
- the connectionString value
-
withConnectionString
Set connection string value.- Parameters:
connectionString
- the connectionString value to set- Returns:
- the ConnStringInfo object itself.
-
type
Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'.- Returns:
- the type value
-
withType
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.
-