DataExportSettings Class

public final class DataExportSettings
extends SettingInner

Represents a data export setting.

Constructor Summary

Constructor Description
DataExportSettings()

Creates an instance of DataExportSettings class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Is the data export setting enabled.

static DataExportSettings fromJson(JsonReader jsonReader)

Reads an instance of DataExportSettings from the JsonReader.

String id()

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

SettingKind kind()

Get the kind property: the kind of the settings string.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DataExportSettings withEnabled(Boolean enabled)

Set the enabled property: Is the data export setting enabled.

DataExportSettings withProperties(SettingProperties properties)

Set the properties property: The resource-specific properties for this resource.

Methods inherited from SettingInner

Methods inherited from java.lang.Object

Constructor Details

DataExportSettings

public DataExportSettings()

Creates an instance of DataExportSettings class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Is the data export setting enabled.

Returns:

the enabled value.

fromJson

public static DataExportSettings fromJson(JsonReader jsonReader)

Reads an instance of DataExportSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataExportSettings 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:

DataExportSettings.id()

Returns:

the id value.

kind

public SettingKind kind()

Get the kind property: the kind of the settings string.

Overrides:

DataExportSettings.kind()

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DataExportSettings.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Overrides:

DataExportSettings.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataExportSettings.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DataExportSettings.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DataExportSettings.validate()

withEnabled

public DataExportSettings withEnabled(Boolean enabled)

Set the enabled property: Is the data export setting enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DataExportSettings object itself.

withProperties

public DataExportSettings withProperties(SettingProperties properties)

Set the properties property: The resource-specific properties for this resource.

Overrides:

DataExportSettings.withProperties(SettingProperties properties)

Parameters:

properties

Applies to