Class AzureSqlReferenceInputDataSourceProperties


  • public final class AzureSqlReferenceInputDataSourceProperties
    extends Object
    The properties that are associated with SQL DB input containing reference data. Required on PUT (CreateOrReplace) requests.
    • Constructor Detail

      • AzureSqlReferenceInputDataSourceProperties

        public AzureSqlReferenceInputDataSourceProperties()
    • Method Detail

      • server

        public String server()
        Get the server property: This element is associated with the datasource element. This is the name of the server that contains the database that will be written to.
        Returns:
        the server value.
      • withServer

        public AzureSqlReferenceInputDataSourceProperties withServer​(String server)
        Set the server property: This element is associated with the datasource element. This is the name of the server that contains the database that will be written to.
        Parameters:
        server - the server value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • database

        public String database()
        Get the database property: This element is associated with the datasource element. This is the name of the database that output will be written to.
        Returns:
        the database value.
      • withDatabase

        public AzureSqlReferenceInputDataSourceProperties withDatabase​(String database)
        Set the database property: This element is associated with the datasource element. This is the name of the database that output will be written to.
        Parameters:
        database - the database value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • user

        public String user()
        Get the user property: This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance.
        Returns:
        the user value.
      • withUser

        public AzureSqlReferenceInputDataSourceProperties withUser​(String user)
        Set the user property: This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance.
        Parameters:
        user - the user value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • password

        public String password()
        Get the password property: This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance.
        Returns:
        the password value.
      • withPassword

        public AzureSqlReferenceInputDataSourceProperties withPassword​(String password)
        Set the password property: This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance.
        Parameters:
        password - the password value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • table

        public String table()
        Get the table property: This element is associated with the datasource element. The name of the table in the Azure SQL database..
        Returns:
        the table value.
      • withTable

        public AzureSqlReferenceInputDataSourceProperties withTable​(String table)
        Set the table property: This element is associated with the datasource element. The name of the table in the Azure SQL database..
        Parameters:
        table - the table value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • refreshType

        public RefreshType refreshType()
        Get the refreshType property: Indicates the type of data refresh option.
        Returns:
        the refreshType value.
      • withRefreshType

        public AzureSqlReferenceInputDataSourceProperties withRefreshType​(RefreshType refreshType)
        Set the refreshType property: Indicates the type of data refresh option.
        Parameters:
        refreshType - the refreshType value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • refreshRate

        public String refreshRate()
        Get the refreshRate property: This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format.
        Returns:
        the refreshRate value.
      • withRefreshRate

        public AzureSqlReferenceInputDataSourceProperties withRefreshRate​(String refreshRate)
        Set the refreshRate property: This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format.
        Parameters:
        refreshRate - the refreshRate value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • fullSnapshotQuery

        public String fullSnapshotQuery()
        Get the fullSnapshotQuery property: This element is associated with the datasource element. This query is used to fetch data from the sql database.
        Returns:
        the fullSnapshotQuery value.
      • withFullSnapshotQuery

        public AzureSqlReferenceInputDataSourceProperties withFullSnapshotQuery​(String fullSnapshotQuery)
        Set the fullSnapshotQuery property: This element is associated with the datasource element. This query is used to fetch data from the sql database.
        Parameters:
        fullSnapshotQuery - the fullSnapshotQuery value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • deltaSnapshotQuery

        public String deltaSnapshotQuery()
        Get the deltaSnapshotQuery property: This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database.
        Returns:
        the deltaSnapshotQuery value.
      • withDeltaSnapshotQuery

        public AzureSqlReferenceInputDataSourceProperties withDeltaSnapshotQuery​(String deltaSnapshotQuery)
        Set the deltaSnapshotQuery property: This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database.
        Parameters:
        deltaSnapshotQuery - the deltaSnapshotQuery value to set.
        Returns:
        the AzureSqlReferenceInputDataSourceProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.