Class ShareDirectoryProperties

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

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

    • ShareDirectoryProperties

      public ShareDirectoryProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, FileSmbProperties smbProperties)
      Creates an instance of properties information about a specific Directory.
      Parameters:
      metadata - A set of name-value pairs that contain metadata for the directory.
      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 directory.
  • Method Details

    • getMetadata

      public Map<String,String> getMetadata()
      Returns:
      A set of name-value pairs that contain metadata for the directory.
    • getETag

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

      public OffsetDateTime getLastModified()
      Returns:
      Entity tag that corresponds to the directory.
    • 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 directory.