AzureSqlDatabaseDataSourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.AzureSqlDatabaseDataSourceProperties

public class AzureSqlDatabaseDataSourceProperties

The properties that are associated with an Azure SQL database data source.

Constructor Summary

Constructor Description
AzureSqlDatabaseDataSourceProperties()

Creates an instance of AzureSqlDatabaseDataSourceProperties class.

Method Summary

Modifier and Type Method and Description
AuthenticationMode authenticationMode()

Get the authenticationMode property: Authentication Mode.

String database()

Get the database property: The name of the Azure SQL database.

Float maxBatchCount()

Get the maxBatchCount property: Max Batch count for write to Sql database, the default value is 10,000.

Float maxWriterCount()

Get the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available.

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.

AzureSqlDatabaseDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)

Set the authenticationMode property: Authentication Mode.

AzureSqlDatabaseDataSourceProperties withDatabase(String database)

Set the database property: The name of the Azure SQL database.

AzureSqlDatabaseDataSourceProperties withMaxBatchCount(Float maxBatchCount)

Set the maxBatchCount property: Max Batch count for write to Sql database, the default value is 10,000.

AzureSqlDatabaseDataSourceProperties withMaxWriterCount(Float maxWriterCount)

Set the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available.

AzureSqlDatabaseDataSourceProperties withPassword(String password)

Set the password property: The password that will be used to connect to the Azure SQL database.

AzureSqlDatabaseDataSourceProperties withServer(String server)

Set the server property: The name of the SQL server containing the Azure SQL database.

AzureSqlDatabaseDataSourceProperties withTable(String table)

Set the table property: The name of the table in the Azure SQL database.

AzureSqlDatabaseDataSourceProperties 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:

the authenticationMode value.

database

public String database()

Get the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.

Returns:

the database value.

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:

the maxBatchCount value.

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:

the maxWriterCount value.

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:

the password value.

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:

the server value.

table

public String table()

Get the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.

Returns:

the table value.

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:

the user value.

validate

public void validate()

Validates the instance.

withAuthenticationMode

public AzureSqlDatabaseDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)

Set the authenticationMode property: Authentication Mode.

Parameters:

authenticationMode - the authenticationMode value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

withDatabase

public AzureSqlDatabaseDataSourceProperties withDatabase(String database)

Set the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.

Parameters:

database - the database value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

maxBatchCount - the maxBatchCount value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

maxWriterCount - the maxWriterCount value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

password - the password value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

server - the server value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

table - the table value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

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:

user - the user value to set.

Returns:

the AzureSqlDatabaseDataSourceProperties object itself.

Applies to