Class SqlConnection
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.SqlConnection
-
public final class SqlConnection extends Object
The connection used to execute the SQL script.
-
-
Constructor Summary
Constructors Constructor Description SqlConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Get the additionalProperties property: The connection used to execute the SQL script.String
getDatabaseName()
Get the databaseName property: The associated database name (supported by SQL pool v3).String
getName()
Get the name property: The identifier of the connection.String
getPoolName()
Get the poolName property: The associated SQL pool name (supported by SQL pool v3).SqlConnectionType
getType()
Get the type property: The type of the connection.SqlConnection
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The connection used to execute the SQL script.SqlConnection
setDatabaseName(String databaseName)
Set the databaseName property: The associated database name (supported by SQL pool v3).SqlConnection
setName(String name)
Set the name property: The identifier of the connection.SqlConnection
setPoolName(String poolName)
Set the poolName property: The associated SQL pool name (supported by SQL pool v3).SqlConnection
setType(SqlConnectionType type)
Set the type property: The type of the connection.
-
-
-
Method Detail
-
getType
public SqlConnectionType getType()
Get the type property: The type of the connection.- Returns:
- the type value.
-
setType
public SqlConnection setType(SqlConnectionType type)
Set the type property: The type of the connection.- Parameters:
type
- the type value to set.- Returns:
- the SqlConnection object itself.
-
getName
public String getName()
Get the name property: The identifier of the connection.- Returns:
- the name value.
-
setName
public SqlConnection setName(String name)
Set the name property: The identifier of the connection.- Parameters:
name
- the name value to set.- Returns:
- the SqlConnection object itself.
-
getPoolName
public String getPoolName()
Get the poolName property: The associated SQL pool name (supported by SQL pool v3).- Returns:
- the poolName value.
-
setPoolName
public SqlConnection setPoolName(String poolName)
Set the poolName property: The associated SQL pool name (supported by SQL pool v3).- Parameters:
poolName
- the poolName value to set.- Returns:
- the SqlConnection object itself.
-
getDatabaseName
public String getDatabaseName()
Get the databaseName property: The associated database name (supported by SQL pool v3).- Returns:
- the databaseName value.
-
setDatabaseName
public SqlConnection setDatabaseName(String databaseName)
Set the databaseName property: The associated database name (supported by SQL pool v3).- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the SqlConnection object itself.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: The connection used to execute the SQL script.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public SqlConnection setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The connection used to execute the SQL script.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the SqlConnection object itself.
-
-