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()
      Gets the entity tag that corresponds to the file.
      Returns:
      The entity tag that corresponds to the file.
    • getLastModified

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

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

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

      public FilePosixProperties getPosixProperties()
      Gets the file's NFS properties. Only applicable to files in a NFS share.
      Returns:
      The NFS Properties of the file.