Class PathInfo
java.lang.Object
com.azure.storage.file.datalake.models.PathInfo
PathInfo
contains basic information about a path that is returned by the service after certain
operations.-
Constructor Summary
ConstructorsConstructorDescriptionPathInfo
(String eTag, OffsetDateTime lastModified) Constructs aPathInfo
PathInfo
(String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, String encryptionKeySha256) Constructs aPathInfo
-
Method Summary
Modifier and TypeMethodDescriptiongetETag()
Get the eTag property: The eTag property.Get the last modified property: The last modified property.
-
Constructor Details
-
PathInfo
Constructs aPathInfo
- 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 aPathInfo
- 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
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
getLastModified
Get the last modified property: The last modified property.- Returns:
- the time when the file was last modified
-
isServerEncrypted
- Returns:
- the encryption status of the block blob on the server
-
getEncryptionKeySha256
- Returns:
- the key used to encrypt the block blob
-