Class ShareFileInfo

java.lang.Object
com.azure.storage.file.share.models.ShareFileInfo

public final class ShareFileInfo extends Object
Contains information about a File in the storage File service.
  • Constructor Details

    • ShareFileInfo

      public ShareFileInfo(String eTag, OffsetDateTime lastModified, Boolean isServerEncrypted, FileSmbProperties smbProperties)
      Creates an instance of information about a specific Directory.
      Parameters:
      eTag - Entity tag that corresponds to the directory.
      lastModified - Last time the directory was modified.
      isServerEncrypted - The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false.
      smbProperties - The SMB properties of the file.
  • Method Details

    • getETag

      public String getETag()
      Returns:
      The entity tag that corresponds to the directory.
    • getLastModified

      public OffsetDateTime getLastModified()
      Returns:
      The last time the share was modified.
    • isServerEncrypted

      public Boolean isServerEncrypted()
      Returns:
      The value of this header is true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is false.
    • getSmbProperties

      public FileSmbProperties getSmbProperties()
      Returns:
      The SMB Properties of the file.