Class TableLevelSharingProperties


  • public final class TableLevelSharingProperties
    extends Object
    Tables that will be included and excluded in the follower database.
    • Constructor Detail

      • TableLevelSharingProperties

        public TableLevelSharingProperties()
    • Method Detail

      • tablesToInclude

        public List<String> tablesToInclude()
        Get the tablesToInclude property: List of tables to include in the follower database.
        Returns:
        the tablesToInclude value.
      • withTablesToInclude

        public TableLevelSharingProperties withTablesToInclude​(List<String> tablesToInclude)
        Set the tablesToInclude property: List of tables to include in the follower database.
        Parameters:
        tablesToInclude - the tablesToInclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • tablesToExclude

        public List<String> tablesToExclude()
        Get the tablesToExclude property: List of tables to exclude from the follower database.
        Returns:
        the tablesToExclude value.
      • withTablesToExclude

        public TableLevelSharingProperties withTablesToExclude​(List<String> tablesToExclude)
        Set the tablesToExclude property: List of tables to exclude from the follower database.
        Parameters:
        tablesToExclude - the tablesToExclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • externalTablesToInclude

        public List<String> externalTablesToInclude()
        Get the externalTablesToInclude property: List of external tables to include in the follower database.
        Returns:
        the externalTablesToInclude value.
      • withExternalTablesToInclude

        public TableLevelSharingProperties withExternalTablesToInclude​(List<String> externalTablesToInclude)
        Set the externalTablesToInclude property: List of external tables to include in the follower database.
        Parameters:
        externalTablesToInclude - the externalTablesToInclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • externalTablesToExclude

        public List<String> externalTablesToExclude()
        Get the externalTablesToExclude property: List of external tables exclude from the follower database.
        Returns:
        the externalTablesToExclude value.
      • withExternalTablesToExclude

        public TableLevelSharingProperties withExternalTablesToExclude​(List<String> externalTablesToExclude)
        Set the externalTablesToExclude property: List of external tables exclude from the follower database.
        Parameters:
        externalTablesToExclude - the externalTablesToExclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • materializedViewsToInclude

        public List<String> materializedViewsToInclude()
        Get the materializedViewsToInclude property: List of materialized views to include in the follower database.
        Returns:
        the materializedViewsToInclude value.
      • withMaterializedViewsToInclude

        public TableLevelSharingProperties withMaterializedViewsToInclude​(List<String> materializedViewsToInclude)
        Set the materializedViewsToInclude property: List of materialized views to include in the follower database.
        Parameters:
        materializedViewsToInclude - the materializedViewsToInclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • materializedViewsToExclude

        public List<String> materializedViewsToExclude()
        Get the materializedViewsToExclude property: List of materialized views exclude from the follower database.
        Returns:
        the materializedViewsToExclude value.
      • withMaterializedViewsToExclude

        public TableLevelSharingProperties withMaterializedViewsToExclude​(List<String> materializedViewsToExclude)
        Set the materializedViewsToExclude property: List of materialized views exclude from the follower database.
        Parameters:
        materializedViewsToExclude - the materializedViewsToExclude value to set.
        Returns:
        the TableLevelSharingProperties object itself.
      • validate

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