Class DataExportProperties

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

public final class DataExportProperties extends Object
Data Export properties.
  • Constructor Details

    • DataExportProperties

      public DataExportProperties()
  • Method Details

    • dataExportId

      public String dataExportId()
      Get the dataExportId property: The data export rule ID.
      Returns:
      the dataExportId value.
    • 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.
    • tableNames

      public List<String> tableNames()
      Get the tableNames property: An array of tables to export, for example: [“Heartbeat, SecurityEvent”].
      Returns:
      the tableNames value.
    • 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.
    • enable

      public Boolean enable()
      Get the enable property: Active when enabled.
      Returns:
      the enable value.
    • 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.
    • createdDate

      public String createdDate()
      Get the createdDate property: The latest data export rule modification time.
      Returns:
      the createdDate 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.
    • lastModifiedDate

      public String lastModifiedDate()
      Get the lastModifiedDate property: Date and time when the export was last modified.
      Returns:
      the lastModifiedDate value.
    • 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.
    • 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.
    • 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.
    • type

      public Type type()
      Get the type property: The type of the destination resource.
      Returns:
      the type 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.