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