Class ConnStringValueTypePair
- java.lang.Object
-
- com.microsoft.azure.management.appservice.ConnStringValueTypePair
-
public class ConnStringValueTypePair extends Object
Database connection string value to type pair.
-
-
Constructor Summary
Constructors Constructor Description ConnStringValueTypePair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionStringTypetype()Get type of database.Stringvalue()Get value of pair.ConnStringValueTypePairwithType(ConnectionStringType type)Set type of database.ConnStringValueTypePairwithValue(String value)Set value of pair.
-
-
-
Method Detail
-
value
public String value()
Get value of pair.- Returns:
- the value value
-
withValue
public ConnStringValueTypePair withValue(String value)
Set value of pair.- Parameters:
value- the value value to set- Returns:
- the ConnStringValueTypePair 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 ConnStringValueTypePair 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 ConnStringValueTypePair object itself.
-
-