Class AzureSynapseOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.AzureSynapseDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.AzureSynapseOutputDataSourceProperties
-
public final class AzureSynapseOutputDataSourceProperties extends AzureSynapseDataSourceProperties
The properties that are associated with an Azure Synapse output.
-
-
Constructor Summary
Constructors Constructor Description AzureSynapseOutputDataSourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureSynapseOutputDataSourceProperties
withDatabase(String database)
Set the database property: The name of the Azure SQL database.AzureSynapseOutputDataSourceProperties
withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database.AzureSynapseOutputDataSourceProperties
withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database.AzureSynapseOutputDataSourceProperties
withTable(String table)
Set the table property: The name of the table in the Azure SQL database.AzureSynapseOutputDataSourceProperties
withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database.
-
-
-
Method Detail
-
withServer
public AzureSynapseOutputDataSourceProperties 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 classAzureSynapseDataSourceProperties
- Parameters:
server
- the server value to set.- Returns:
- the AzureSynapseDataSourceProperties object itself.
-
withDatabase
public AzureSynapseOutputDataSourceProperties withDatabase(String database)
Set the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.- Overrides:
withDatabase
in classAzureSynapseDataSourceProperties
- Parameters:
database
- the database value to set.- Returns:
- the AzureSynapseDataSourceProperties object itself.
-
withTable
public AzureSynapseOutputDataSourceProperties 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 classAzureSynapseDataSourceProperties
- Parameters:
table
- the table value to set.- Returns:
- the AzureSynapseDataSourceProperties object itself.
-
withUser
public AzureSynapseOutputDataSourceProperties 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 classAzureSynapseDataSourceProperties
- Parameters:
user
- the user value to set.- Returns:
- the AzureSynapseDataSourceProperties object itself.
-
withPassword
public AzureSynapseOutputDataSourceProperties 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 classAzureSynapseDataSourceProperties
- Parameters:
password
- the password value to set.- Returns:
- the AzureSynapseDataSourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureSynapseDataSourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-