Class DataExportProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.DataExportProperties
Data Export properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createdDate property: The latest data export rule modification time.Get the dataExportId property: The data export rule ID.enable()Get the enable property: Active when enabled.Get the eventHubName property: Optional.Get the lastModifiedDate property: Date and time when the export was last modified.Get the resourceId property: The destination resource ID.Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].type()Get the type property: The type of the destination resource.voidvalidate()Validates the instance.withCreatedDate(String createdDate) Set the createdDate property: The latest data export rule modification time.withDataExportId(String dataExportId) Set the dataExportId property: The data export rule ID.withEnable(Boolean enable) Set the enable property: Active when enabled.withEventHubName(String eventHubName) Set the eventHubName property: Optional.withLastModifiedDate(String lastModifiedDate) Set the lastModifiedDate property: Date and time when the export was last modified.withResourceId(String resourceId) Set the resourceId property: The destination resource ID.withTableNames(List<String> tableNames) Set the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].
-
Constructor Details
-
DataExportProperties
public DataExportProperties()
-
-
Method Details
-
dataExportId
Get the dataExportId property: The data export rule ID.- Returns:
- the dataExportId value.
-
withDataExportId
Set the dataExportId property: The data export rule ID.- Parameters:
dataExportId- the dataExportId value to set.- Returns:
- the DataExportProperties object itself.
-
tableNames
Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].- Returns:
- the tableNames value.
-
withTableNames
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.
-
enable
Get the enable property: Active when enabled.- Returns:
- the enable value.
-
withEnable
Set the enable property: Active when enabled.- Parameters:
enable- the enable value to set.- Returns:
- the DataExportProperties object itself.
-
createdDate
Get the createdDate property: The latest data export rule modification time.- Returns:
- the createdDate value.
-
withCreatedDate
Set the createdDate property: The latest data export rule modification time.- Parameters:
createdDate- the createdDate value to set.- Returns:
- the DataExportProperties object itself.
-
lastModifiedDate
Get the lastModifiedDate property: Date and time when the export was last modified.- Returns:
- the lastModifiedDate value.
-
withLastModifiedDate
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.
-
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.
-
withResourceId
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.
-
type
Get the type property: The type of the destination resource.- Returns:
- the type value.
-
eventHubName
Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Returns:
- the eventHubName value.
-
withEventHubName
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-