java.lang.Object
com.azure.resourcemanager.securityinsights.models.FileMetadata

public final class FileMetadata extends Object
Represents a file.
  • Constructor Details

    • FileMetadata

      public FileMetadata()
  • Method Details

    • fileFormat

      public FileFormat fileFormat()
      Get the fileFormat property: The format of the file.
      Returns:
      the fileFormat value.
    • withFileFormat

      public FileMetadata withFileFormat(FileFormat fileFormat)
      Set the fileFormat property: The format of the file.
      Parameters:
      fileFormat - the fileFormat value to set.
      Returns:
      the FileMetadata object itself.
    • fileName

      public String fileName()
      Get the fileName property: The name of the file.
      Returns:
      the fileName value.
    • withFileName

      public FileMetadata withFileName(String fileName)
      Set the fileName property: The name of the file.
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the FileMetadata object itself.
    • fileSize

      public Integer fileSize()
      Get the fileSize property: The size of the file.
      Returns:
      the fileSize value.
    • withFileSize

      public FileMetadata withFileSize(Integer fileSize)
      Set the fileSize property: The size of the file.
      Parameters:
      fileSize - the fileSize value to set.
      Returns:
      the FileMetadata object itself.
    • fileContentUri

      public String fileContentUri()
      Get the fileContentUri property: A URI with a valid SAS token to allow uploading / downloading the file.
      Returns:
      the fileContentUri value.
    • deleteStatus

      public DeleteStatus deleteStatus()
      Get the deleteStatus property: Indicates whether the file was deleted from the storage account.
      Returns:
      the deleteStatus value.
    • validate

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