Class DataSourceSqlServerConnectionString
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataSourceCredentialEntity
com.azure.ai.metricsadvisor.administration.models.DataSourceSqlServerConnectionString
The connection credential entity for SQLServer.
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceSqlServerConnectionString(String name, String connectionString) Creates DataSourceSqlServerConnectionString. -
Method Summary
Modifier and TypeMethodDescriptionGets the credential description.getId()Gets the credential id.getName()Gets the credential name.setConnectionString(String connectionString) Sets the connection string.setDescription(String description) Sets the description.Sets the name.
-
Constructor Details
-
DataSourceSqlServerConnectionString
Creates DataSourceSqlServerConnectionString.- Parameters:
name- The nameconnectionString- The connection string
-
-
Method Details
-
getId
Description copied from class:DataSourceCredentialEntityGets the credential id.- Specified by:
getIdin classDataSourceCredentialEntity- Returns:
- The credential id.
-
getName
Description copied from class:DataSourceCredentialEntityGets the credential name.- Specified by:
getNamein classDataSourceCredentialEntity- Returns:
- The credential name.
-
getDescription
Description copied from class:DataSourceCredentialEntityGets the credential description.- Specified by:
getDescriptionin classDataSourceCredentialEntity- Returns:
- The credential description.
-
setName
Sets the name.- Parameters:
name- The name- Returns:
- an updated object with name set
-
setConnectionString
Sets the connection string.- Parameters:
connectionString- The connection string- Returns:
- an updated object with connection string set
-
setDescription
Sets the description.- Parameters:
description- The description.- Returns:
- an updated object with description set
-