Class PathInfo
- java.lang.Object
-
- com.azure.storage.file.datalake.models.PathInfo
-
public class PathInfo extends Object
PathInfocontains basic information about a path that is returned by the service after certain operations.
-
-
Constructor Summary
Constructors Constructor Description PathInfo(String eTag, OffsetDateTime lastModified)Constructs aPathInfoPathInfo(String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, String encryptionKeySha256)Constructs aPathInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncryptionKeySha256()StringgetETag()Get the eTag property: The eTag property.OffsetDateTimegetLastModified()Get the last modified property: The last modified property.BooleanisServerEncrypted()
-
-
-
Constructor Detail
-
PathInfo
public PathInfo(String eTag, OffsetDateTime lastModified)
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 Detail
-
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
-
-