다음을 통해 공유


PathInfo Class

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

public class PathInfo

PathInfo contains basic information about a path that is returned by the service after certain operations.

Constructor Summary

Constructor Description
PathInfo(String eTag, OffsetDateTime lastModified)

Constructs a PathInfo

PathInfo(String eTag, OffsetDateTime lastModified, boolean isServerEncrypted, String encryptionKeySha256)

Constructs a PathInfo

Method Summary

Modifier and Type Method and Description
String getETag()

Get the eTag property: The eTag property.

String getEncryptionKeySha256()
OffsetDateTime getLastModified()

Get the last modified property: The last modified property.

Boolean isServerEncrypted()

Methods inherited from java.lang.Object

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.

getEncryptionKeySha256

public String getEncryptionKeySha256()

Returns:

the key used to encrypt the block blob

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

Applies to