Class AzureSqlDatabaseOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.AzureSqlDatabaseDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.AzureSqlDatabaseOutputDataSourceProperties
-
public final class AzureSqlDatabaseOutputDataSourceProperties extends AzureSqlDatabaseDataSourceProperties
The properties that are associated with an Azure SQL database output.
-
-
Constructor Summary
Constructors Constructor Description AzureSqlDatabaseOutputDataSourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureSqlDatabaseOutputDataSourceProperties
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.AzureSqlDatabaseOutputDataSourceProperties
withDatabase(String database)
Set the database property: The name of the Azure SQL database.AzureSqlDatabaseOutputDataSourceProperties
withMaxBatchCount(Float maxBatchCount)
Set the maxBatchCount property: Max Batch count for write to Sql database, the default value is 10,000.AzureSqlDatabaseOutputDataSourceProperties
withMaxWriterCount(Float maxWriterCount)
Set the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available.AzureSqlDatabaseOutputDataSourceProperties
withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database.AzureSqlDatabaseOutputDataSourceProperties
withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database.AzureSqlDatabaseOutputDataSourceProperties
withTable(String table)
Set the table property: The name of the table in the Azure SQL database.AzureSqlDatabaseOutputDataSourceProperties
withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.AzureSqlDatabaseDataSourceProperties
authenticationMode, database, maxBatchCount, maxWriterCount, password, server, table, user
-
-
-
-
Method Detail
-
withServer
public AzureSqlDatabaseOutputDataSourceProperties withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.- Overrides:
withServer
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
server
- the server value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withDatabase
public AzureSqlDatabaseOutputDataSourceProperties withDatabase(String database)
Set the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.- Overrides:
withDatabase
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
database
- the database value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withUser
public AzureSqlDatabaseOutputDataSourceProperties 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.- Overrides:
withUser
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
user
- the user value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withPassword
public AzureSqlDatabaseOutputDataSourceProperties 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.- Overrides:
withPassword
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
password
- the password value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withTable
public AzureSqlDatabaseOutputDataSourceProperties withTable(String table)
Set the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.- Overrides:
withTable
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
table
- the table value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withMaxBatchCount
public AzureSqlDatabaseOutputDataSourceProperties 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.- Overrides:
withMaxBatchCount
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
maxBatchCount
- the maxBatchCount value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withMaxWriterCount
public AzureSqlDatabaseOutputDataSourceProperties 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.- Overrides:
withMaxWriterCount
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
maxWriterCount
- the maxWriterCount value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
withAuthenticationMode
public AzureSqlDatabaseOutputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Overrides:
withAuthenticationMode
in classAzureSqlDatabaseDataSourceProperties
- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the AzureSqlDatabaseDataSourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureSqlDatabaseDataSourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-