MetadataSyncConfigInner Class

public final class MetadataSyncConfigInner
extends ProxyResource

Metadata sync configuration Configuration for metadata sync.

Constructor Summary

Constructor Description
MetadataSyncConfigInner()

Creates an instance of MetadataSyncConfigInner class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates whether the metadata sync is enabled or disabled.

static MetadataSyncConfigInner fromJson(JsonReader jsonReader)

Reads an instance of MetadataSyncConfigInner from the JsonReader.

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 syncIntervalInMinutes property: The Sync Interval in minutes.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

MetadataSyncConfigInner withEnabled(Boolean enabled)

Set the enabled property: Indicates whether the metadata sync is enabled or disabled.

MetadataSyncConfigInner withSyncIntervalInMinutes(Integer syncIntervalInMinutes)

Set the syncIntervalInMinutes property: The Sync Interval in minutes.

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:

the enabled value.

fromJson

public static MetadataSyncConfigInner fromJson(JsonReader jsonReader)

Reads an instance of MetadataSyncConfigInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MetadataSyncConfigInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MetadataSyncConfigInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MetadataSyncConfigInner.name()

Returns:

the name value.

syncIntervalInMinutes

public Integer syncIntervalInMinutes()

Get the syncIntervalInMinutes property: The Sync Interval in minutes.

Returns:

the syncIntervalInMinutes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MetadataSyncConfigInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MetadataSyncConfigInner.type()

Returns:

the type value.

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:

enabled - the enabled value to set.

Returns:

the MetadataSyncConfigInner object itself.

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.

Applies to