Class ConnStringInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ConnStringInfo
Database connection string information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: Connection string value.name()
Get the name property: Name of connection string.type()
Get the type property: Type of database.void
validate()
Validates the instance.withConnectionString
(String connectionString) Set the connectionString property: Connection string value.Set the name property: Name of connection string.withType
(ConnectionStringType type) Set the type property: Type of database.
-
Constructor Details
-
ConnStringInfo
public ConnStringInfo()
-
-
Method Details
-
name
Get the name property: Name of connection string.- Returns:
- the name value.
-
withName
Set the name property: Name of connection string.- Parameters:
name
- the name value to set.- Returns:
- the ConnStringInfo object itself.
-
connectionString
Get the connectionString property: Connection string value.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: Connection string value.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the ConnStringInfo object itself.
-
type
Get the type property: Type of database.- Returns:
- the type value.
-
withType
Set the type property: Type of database.- Parameters:
type
- the type value to set.- Returns:
- the ConnStringInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-