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 Summary
ConstructorDescriptionCreates an instance of MetadataSyncConfigInner class. -
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Indicates whether the metadata sync is enabled or disabled.Get the syncIntervalInMinutes property: The Sync Interval in minutes.void
validate()
Validates the instance.withEnabled
(Boolean enabled) Set the enabled property: Indicates whether the metadata sync is enabled or disabled.withSyncIntervalInMinutes
(Integer syncIntervalInMinutes) Set the syncIntervalInMinutes property: The Sync Interval in minutes.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
MetadataSyncConfigInner
public MetadataSyncConfigInner()Creates an instance of MetadataSyncConfigInner class.
-
-
Method Details
-
enabled
Get the enabled property: Indicates whether the metadata sync is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
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
Get the syncIntervalInMinutes property: The Sync Interval in minutes.- Returns:
- the syncIntervalInMinutes value.
-
withSyncIntervalInMinutes
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.
-