Class PathInfo

java.lang.Object
com.azure.storage.file.datalake.models.PathInfo

public class PathInfo extends Object
PathInfo contains basic information about a path that is returned by the service after certain operations.
  • Constructor Details

    • PathInfo

      public PathInfo(String eTag, OffsetDateTime lastModified)
      Constructs a PathInfo
      Parameters:
      eTag - ETag of the path.
      lastModified - Datetime when the path was last modified.
    • PathInfo

      public PathInfo(String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, String encryptionKeySha256)
      Constructs a PathInfo
      Parameters:
      eTag - ETag of the path.
      lastModified - Datetime when the path was last modified.
      isServerEncrypted - Indicates whether the path is encrypted using Cpk.
      encryptionKeySha256 - An echo of the SHA256 of the key that was used to encrypt the data.
  • Method Details

    • getETag

      public String getETag()
      Get the eTag property: The eTag property.
      Returns:
      the eTag value.
    • getLastModified

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

      public Boolean isServerEncrypted()
      Returns:
      the encryption status of the block blob on the server
    • getEncryptionKeySha256

      public String getEncryptionKeySha256()
      Returns:
      the key used to encrypt the block blob