Class FileImportInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contentType property: The content type of this file.Get the createdTimeUtc property: The time the file was imported.Get the errorFile property: Represents the error file (if the import was ingested with errors or failed the validation).Get the errorsPreview property: An ordered list of some of the errors that were encountered during validation.Get the filesValidUntilTimeUtc property: The time the files associated with this import are deleted from the storage account.Get the importFile property: Represents the imported file.Get the importValidUntilTimeUtc property: The time the file import record is soft deleted from the database and history.Get the ingestedRecordCount property: The number of records that have been successfully ingested.Get the ingestionMode property: Describes how to ingest the records in the file.source()
Get the source property: The source for the data in the file.state()
Get the state property: The state of the file import.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Get the totalRecordCount property: The number of records in the file.void
validate()
Validates the instance.Get the validRecordCount property: The number of records that have passed validation.withContentType
(FileImportContentType contentType) Set the contentType property: The content type of this file.withImportFile
(FileMetadata importFile) Set the importFile property: Represents the imported file.withIngestionMode
(IngestionMode ingestionMode) Set the ingestionMode property: Describes how to ingest the records in the file.withSource
(String source) Set the source property: The source for the data in the file.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
Get the ingestionMode property: Describes how to ingest the records in the file.- Returns:
- the ingestionMode value.
-
withIngestionMode
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
Get the contentType property: The content type of this file.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: The content type of this file.- Parameters:
contentType
- the contentType value to set.- Returns:
- the FileImportInner object itself.
-
createdTimeUtc
Get the createdTimeUtc property: The time the file was imported.- Returns:
- the createdTimeUtc value.
-
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
Get the errorsPreview property: An ordered list of some of the errors that were encountered during validation.- Returns:
- the errorsPreview value.
-
importFile
Get the importFile property: Represents the imported file.- Returns:
- the importFile value.
-
withImportFile
Set the importFile property: Represents the imported file.- Parameters:
importFile
- the importFile value to set.- Returns:
- the FileImportInner object itself.
-
ingestedRecordCount
Get the ingestedRecordCount property: The number of records that have been successfully ingested.- Returns:
- the ingestedRecordCount value.
-
source
Get the source property: The source for the data in the file.- Returns:
- the source value.
-
withSource
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
Get the state property: The state of the file import.- Returns:
- the state value.
-
totalRecordCount
Get the totalRecordCount property: The number of records in the file.- Returns:
- the totalRecordCount value.
-
validRecordCount
Get the validRecordCount property: The number of records that have passed validation.- Returns:
- the validRecordCount value.
-
filesValidUntilTimeUtc
Get the filesValidUntilTimeUtc property: The time the files associated with this import are deleted from the storage account.- Returns:
- the filesValidUntilTimeUtc value.
-
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.
-