Class ConnStringInfo
- java.lang.Object
-
- com.microsoft.azure.management.appservice.ConnStringInfo
-
public class ConnStringInfo extends Object
Database connection string information.
-
-
Constructor Summary
Constructors Constructor Description ConnStringInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconnectionString()Get connection string value.Stringname()Get name of connection string.ConnectionStringTypetype()Get type of database.ConnStringInfowithConnectionString(String connectionString)Set connection string value.ConnStringInfowithName(String name)Set name of connection string.ConnStringInfowithType(ConnectionStringType type)Set type of database.
-
-
-
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.
-
-