DataExportProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.loganalytics.fluent.models.DataExportProperties

Implements

public final class DataExportProperties
implements JsonSerializable<DataExportProperties>

Data Export properties.

Constructor Summary

Constructor Description
DataExportProperties()

Creates an instance of DataExportProperties class.

Method Summary

Modifier and Type Method and Description
String createdDate()

Get the createdDate property: The latest data export rule modification time.

String dataExportId()

Get the dataExportId property: The data export rule ID.

Boolean enable()

Get the enable property: Active when enabled.

String eventHubName()

Get the eventHubName property: Optional.

static DataExportProperties fromJson(JsonReader jsonReader)

Reads an instance of DataExportProperties from the JsonReader.

String lastModifiedDate()

Get the lastModifiedDate property: Date and time when the export was last modified.

String resourceId()

Get the resourceId property: The destination resource ID.

List<String> tableNames()

Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

JsonWriter toJson(JsonWriter jsonWriter)
Type type()

Get the type property: The type of the destination resource.

DataExportProperties withCreatedDate(String createdDate)

Set the createdDate property: The latest data export rule modification time.

DataExportProperties withDataExportId(String dataExportId)

Set the dataExportId property: The data export rule ID.

DataExportProperties withEnable(Boolean enable)

Set the enable property: Active when enabled.

DataExportProperties withEventHubName(String eventHubName)

Set the eventHubName property: Optional.

DataExportProperties withLastModifiedDate(String lastModifiedDate)

Set the lastModifiedDate property: Date and time when the export was last modified.

DataExportProperties withResourceId(String resourceId)

Set the resourceId property: The destination resource ID.

DataExportProperties withTableNames(List<String> tableNames)

Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Methods inherited from java.lang.Object

Constructor Details

DataExportProperties

public DataExportProperties()

Creates an instance of DataExportProperties class.

Method Details

createdDate

public String createdDate()

Get the createdDate property: The latest data export rule modification time.

Returns:

the createdDate value.

dataExportId

public String dataExportId()

Get the dataExportId property: The data export rule ID.

Returns:

the dataExportId value.

enable

public Boolean enable()

Get the enable property: Active when enabled.

Returns:

the enable value.

eventHubName

public String eventHubName()

Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.

Returns:

the eventHubName value.

fromJson

public static DataExportProperties fromJson(JsonReader jsonReader)

Reads an instance of DataExportProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataExportProperties 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.

lastModifiedDate

public String lastModifiedDate()

Get the lastModifiedDate property: Date and time when the export was last modified.

Returns:

the lastModifiedDate value.

resourceId

public String resourceId()

Get the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.

Returns:

the resourceId value.

tableNames

public List<String> tableNames()

Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Returns:

the tableNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public Type type()

Get the type property: The type of the destination resource.

Returns:

the type value.

withCreatedDate

public DataExportProperties withCreatedDate(String createdDate)

Set the createdDate property: The latest data export rule modification time.

Parameters:

createdDate - the createdDate value to set.

Returns:

the DataExportProperties object itself.

withDataExportId

public DataExportProperties withDataExportId(String dataExportId)

Set the dataExportId property: The data export rule ID.

Parameters:

dataExportId - the dataExportId value to set.

Returns:

the DataExportProperties object itself.

withEnable

public DataExportProperties withEnable(Boolean enable)

Set the enable property: Active when enabled.

Parameters:

enable - the enable value to set.

Returns:

the DataExportProperties object itself.

withEventHubName

public DataExportProperties withEventHubName(String eventHubName)

Set the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.

Parameters:

eventHubName - the eventHubName value to set.

Returns:

the DataExportProperties object itself.

withLastModifiedDate

public DataExportProperties withLastModifiedDate(String lastModifiedDate)

Set the lastModifiedDate property: Date and time when the export was last modified.

Parameters:

lastModifiedDate - the lastModifiedDate value to set.

Returns:

the DataExportProperties object itself.

withResourceId

public DataExportProperties withResourceId(String resourceId)

Set the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.

Parameters:

resourceId - the resourceId value to set.

Returns:

the DataExportProperties object itself.

withTableNames

public DataExportProperties withTableNames(List<String> tableNames)

Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].

Parameters:

tableNames - the tableNames value to set.

Returns:

the DataExportProperties object itself.

Applies to