java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.FileImportInner

public final class FileImportInner extends com.azure.core.management.ProxyResource
Represents a file import in Azure Security Insights.
  • Constructor Details

    • FileImportInner

      public FileImportInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • ingestionMode

      public IngestionMode ingestionMode()
      Get the ingestionMode property: Describes how to ingest the records in the file.
      Returns:
      the ingestionMode value.
    • withIngestionMode

      public FileImportInner withIngestionMode(IngestionMode ingestionMode)
      Set the ingestionMode property: Describes how to ingest the records in the file.
      Parameters:
      ingestionMode - the ingestionMode value to set.
      Returns:
      the FileImportInner object itself.
    • contentType

      public FileImportContentType contentType()
      Get the contentType property: The content type of this file.
      Returns:
      the contentType value.
    • withContentType

      public FileImportInner withContentType(FileImportContentType contentType)
      Set the contentType property: The content type of this file.
      Parameters:
      contentType - the contentType value to set.
      Returns:
      the FileImportInner object itself.
    • createdTimeUtc

      public OffsetDateTime createdTimeUtc()
      Get the createdTimeUtc property: The time the file was imported.
      Returns:
      the createdTimeUtc value.
    • errorFile

      public FileMetadata errorFile()
      Get the errorFile property: Represents the error file (if the import was ingested with errors or failed the validation).
      Returns:
      the errorFile value.
    • errorsPreview

      public List<ValidationError> errorsPreview()
      Get the errorsPreview property: An ordered list of some of the errors that were encountered during validation.
      Returns:
      the errorsPreview value.
    • importFile

      public FileMetadata importFile()
      Get the importFile property: Represents the imported file.
      Returns:
      the importFile value.
    • withImportFile

      public FileImportInner withImportFile(FileMetadata importFile)
      Set the importFile property: Represents the imported file.
      Parameters:
      importFile - the importFile value to set.
      Returns:
      the FileImportInner object itself.
    • ingestedRecordCount

      public Integer ingestedRecordCount()
      Get the ingestedRecordCount property: The number of records that have been successfully ingested.
      Returns:
      the ingestedRecordCount value.
    • source

      public String source()
      Get the source property: The source for the data in the file.
      Returns:
      the source value.
    • withSource

      public FileImportInner withSource(String source)
      Set the source property: The source for the data in the file.
      Parameters:
      source - the source value to set.
      Returns:
      the FileImportInner object itself.
    • state

      public FileImportState state()
      Get the state property: The state of the file import.
      Returns:
      the state value.
    • totalRecordCount

      public Integer totalRecordCount()
      Get the totalRecordCount property: The number of records in the file.
      Returns:
      the totalRecordCount value.
    • validRecordCount

      public Integer validRecordCount()
      Get the validRecordCount property: The number of records that have passed validation.
      Returns:
      the validRecordCount value.
    • filesValidUntilTimeUtc

      public OffsetDateTime filesValidUntilTimeUtc()
      Get the filesValidUntilTimeUtc property: The time the files associated with this import are deleted from the storage account.
      Returns:
      the filesValidUntilTimeUtc value.
    • importValidUntilTimeUtc

      public OffsetDateTime importValidUntilTimeUtc()
      Get the importValidUntilTimeUtc property: The time the file import record is soft deleted from the database and history.
      Returns:
      the importValidUntilTimeUtc value.
    • validate

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