Interface FileImport
public interface FileImport
An immutable client-side representation of FileImport.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the FileImport definition.static interface
The FileImport definition stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the contentType property: The content type of this file.Gets the createdTimeUtc property: The time the file was imported.Gets the errorFile property: Represents the error file (if the import was ingested with errors or failed the validation).Gets the errorsPreview property: An ordered list of some of the errors that were encountered during validation.Gets the filesValidUntilTimeUtc property: The time the files associated with this import are deleted from the storage account.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the importFile property: Represents the imported file.Gets the importValidUntilTimeUtc property: The time the file import record is soft deleted from the database and history.Gets the ingestedRecordCount property: The number of records that have been successfully ingested.Gets the ingestionMode property: Describes how to ingest the records in the file.Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.FileImportInner object.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.source()
Gets the source property: The source for the data in the file.state()
Gets the state property: The state of the file import.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Gets the totalRecordCount property: The number of records in the file.type()
Gets the type property: The type of the resource.Gets the validRecordCount property: The number of records that have passed validation.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
ingestionMode
IngestionMode ingestionMode()Gets the ingestionMode property: Describes how to ingest the records in the file.- Returns:
- the ingestionMode value.
-
contentType
FileImportContentType contentType()Gets the contentType property: The content type of this file.- Returns:
- the contentType value.
-
createdTimeUtc
OffsetDateTime createdTimeUtc()Gets the createdTimeUtc property: The time the file was imported.- Returns:
- the createdTimeUtc value.
-
errorFile
FileMetadata errorFile()Gets the errorFile property: Represents the error file (if the import was ingested with errors or failed the validation).- Returns:
- the errorFile value.
-
errorsPreview
List<ValidationError> errorsPreview()Gets the errorsPreview property: An ordered list of some of the errors that were encountered during validation.- Returns:
- the errorsPreview value.
-
importFile
FileMetadata importFile()Gets the importFile property: Represents the imported file.- Returns:
- the importFile value.
-
ingestedRecordCount
Integer ingestedRecordCount()Gets the ingestedRecordCount property: The number of records that have been successfully ingested.- Returns:
- the ingestedRecordCount value.
-
source
String source()Gets the source property: The source for the data in the file.- Returns:
- the source value.
-
state
FileImportState state()Gets the state property: The state of the file import.- Returns:
- the state value.
-
totalRecordCount
Integer totalRecordCount()Gets the totalRecordCount property: The number of records in the file.- Returns:
- the totalRecordCount value.
-
validRecordCount
Integer validRecordCount()Gets the validRecordCount property: The number of records that have passed validation.- Returns:
- the validRecordCount value.
-
filesValidUntilTimeUtc
OffsetDateTime filesValidUntilTimeUtc()Gets the filesValidUntilTimeUtc property: The time the files associated with this import are deleted from the storage account.- Returns:
- the filesValidUntilTimeUtc value.
-
importValidUntilTimeUtc
OffsetDateTime importValidUntilTimeUtc()Gets the importValidUntilTimeUtc property: The time the file import record is soft deleted from the database and history.- Returns:
- the importValidUntilTimeUtc value.
-
innerModel
FileImportInner innerModel()Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.FileImportInner object.- Returns:
- the inner object.
-
refresh
FileImport refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-