MetadataSyncConfigInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. synapse. fluent. models. MetadataSyncConfigInner
- com.
- com.
public final class MetadataSyncConfigInner
extends ProxyResource
Metadata sync configuration Configuration for metadata sync.
Constructor Summary
| Constructor | Description |
|---|---|
| MetadataSyncConfigInner() |
Creates an instance of Metadata |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Indicates whether the metadata sync is enabled or disabled. |
|
static
Metadata |
fromJson(JsonReader jsonReader)
Reads an instance of Metadata |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| Integer |
syncIntervalInMinutes()
Get the sync |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Metadata |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the metadata sync is enabled or disabled. |
|
Metadata |
withSyncIntervalInMinutes(Integer syncIntervalInMinutes)
Set the sync |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
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:
fromJson
public static MetadataSyncConfigInner fromJson(JsonReader jsonReader)
Reads an instance of MetadataSyncConfigInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MetadataSyncConfigInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MetadataSyncConfigInner.name()Returns:
syncIntervalInMinutes
public Integer syncIntervalInMinutes()
Get the syncIntervalInMinutes property: The Sync Interval in minutes.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MetadataSyncConfigInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MetadataSyncConfigInner.type()Returns:
validate
public void validate()
Validates the instance.
withEnabled
public MetadataSyncConfigInner withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the metadata sync is enabled or disabled.
Parameters:
Returns:
withSyncIntervalInMinutes
public MetadataSyncConfigInner withSyncIntervalInMinutes(Integer syncIntervalInMinutes)
Set the syncIntervalInMinutes property: The Sync Interval in minutes.
Parameters:
Returns: