Class MetadataSyncConfigInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.synapse.fluent.models.MetadataSyncConfigInner

public final class MetadataSyncConfigInner extends com.azure.core.management.ProxyResource
Metadata sync configuration

Configuration for metadata sync.

  • Constructor Details

    • MetadataSyncConfigInner

      public MetadataSyncConfigInner()
      Creates an instance of MetadataSyncConfigInner class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Indicates whether the metadata sync is enabled or disabled.
      Returns:
      the enabled value.
    • withEnabled

      public MetadataSyncConfigInner withEnabled(Boolean enabled)
      Set the enabled property: Indicates whether the metadata sync is enabled or disabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the MetadataSyncConfigInner object itself.
    • syncIntervalInMinutes

      public Integer syncIntervalInMinutes()
      Get the syncIntervalInMinutes property: The Sync Interval in minutes.
      Returns:
      the syncIntervalInMinutes value.
    • withSyncIntervalInMinutes

      public MetadataSyncConfigInner withSyncIntervalInMinutes(Integer syncIntervalInMinutes)
      Set the syncIntervalInMinutes property: The Sync Interval in minutes.
      Parameters:
      syncIntervalInMinutes - the syncIntervalInMinutes value to set.
      Returns:
      the MetadataSyncConfigInner object itself.
    • validate

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