AzureSqlDatabaseDataSourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. AzureSqlDatabaseDataSourceProperties
- com.
public class AzureSqlDatabaseDataSourceProperties
The properties that are associated with an Azure SQL database data source.
Constructor Summary
Constructor | Description |
---|---|
AzureSqlDatabaseDataSourceProperties() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Authentication |
authenticationMode()
Get the authentication |
String |
database()
Get the database property: The name of the Azure SQL database. |
Float |
maxBatchCount()
Get the max |
Float |
maxWriterCount()
Get the max |
String |
password()
Get the password property: The password that will be used to connect to the Azure SQL database. |
String |
server()
Get the server property: The name of the SQL server containing the Azure SQL database. |
String |
table()
Get the table property: The name of the table in the Azure SQL database. |
String |
user()
Get the user property: The user name that will be used to connect to the Azure SQL database. |
void |
validate()
Validates the instance. |
Azure |
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authentication |
Azure |
withDatabase(String database)
Set the database property: The name of the Azure SQL database. |
Azure |
withMaxBatchCount(Float maxBatchCount)
Set the max |
Azure |
withMaxWriterCount(Float maxWriterCount)
Set the max |
Azure |
withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database. |
Azure |
withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database. |
Azure |
withTable(String table)
Set the table property: The name of the table in the Azure SQL database. |
Azure |
withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database. |
Methods inherited from java.lang.Object
Constructor Details
AzureSqlDatabaseDataSourceProperties
public AzureSqlDatabaseDataSourceProperties()
Creates an instance of AzureSqlDatabaseDataSourceProperties class.
Method Details
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.
Returns:
database
public String database()
Get the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
maxBatchCount
public Float maxBatchCount()
Get the maxBatchCount property: Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests.
Returns:
maxWriterCount
public Float maxWriterCount()
Get the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
Returns:
password
public String password()
Get the password property: The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
server
public String server()
Get the server property: The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
table
public String table()
Get the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
user
public String user()
Get the user property: The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
validate
public void validate()
Validates the instance.
withAuthenticationMode
public AzureSqlDatabaseDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.
Parameters:
Returns:
withDatabase
public AzureSqlDatabaseDataSourceProperties withDatabase(String database)
Set the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withMaxBatchCount
public AzureSqlDatabaseDataSourceProperties withMaxBatchCount(Float maxBatchCount)
Set the maxBatchCount property: Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests.
Parameters:
Returns:
withMaxWriterCount
public AzureSqlDatabaseDataSourceProperties withMaxWriterCount(Float maxWriterCount)
Set the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
Parameters:
Returns:
withPassword
public AzureSqlDatabaseDataSourceProperties withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withServer
public AzureSqlDatabaseDataSourceProperties withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withTable
public AzureSqlDatabaseDataSourceProperties withTable(String table)
Set the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withUser
public AzureSqlDatabaseDataSourceProperties withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for