Class MetadataSyncConfigProperties


  • public final class MetadataSyncConfigProperties
    extends Object
    Metadata Sync Config properties.
    • Constructor Detail

      • MetadataSyncConfigProperties

        public MetadataSyncConfigProperties()
    • Method Detail

      • enabled

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

        public MetadataSyncConfigProperties 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 MetadataSyncConfigProperties object itself.
      • syncIntervalInMinutes

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

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

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