PathProperties Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. PathProperties
- com.
public class PathProperties
This class contains the response information returned from the service when getting path properties.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Path |
getAccessControlList()
Optional. |
Access |
getAccessTier()
Gets the tier of the path. |
Offset |
getAccessTierChangeTime()
Gets the time when the access tier for the path was last changed. |
Archive |
getArchiveStatus()
Gets the archive status of the path. |
String |
getCacheControl()
Gets the cache control of the path. |
String |
getContentDisposition()
Gets the content disposition of the path. |
String |
getContentEncoding()
Gets the content encoding of the path. |
String |
getContentLanguage()
Gets the content language of the path. |
byte[] |
getContentMd5()
Gets the MD5 of the path's content. |
String |
getContentType()
Gets the content type of the path. |
Offset |
getCopyCompletionTime()
Gets the completion time of the last copy operation. |
String |
getCopyId()
Gets the identifier of the last copy operation. |
String |
getCopyProgress()
Gets the number of bytes copied and total bytes in the source from the last copy operation. |
String |
getCopySource()
Gets the source path URL from the last copy operation. |
Copy |
getCopyStatus()
Gets the status of the last copy operation. |
String |
getCopyStatusDescription()
Gets the description of the last copy failure. |
Offset |
getCreationTime()
Gets the time when the path was created. |
String |
getEncryptionContext()
Gets the encryption context for this path. |
String |
getEncryptionKeySha256()
Gets the SHA256 of the encryption key used to encrypt the path. |
String |
getEncryptionScope()
Gets the path's encryption scope. |
String |
getETag()
Gets the e |
Offset |
getExpiresOn()
Gets the time when the path is going to expire. |
long |
getFileSize()
Gets the size of the path in bytes. |
String |
getGroup()
Get the group property of the path: The owner property. |
Offset |
getLastModified()
Gets the time when the path was last modified. |
Lease |
getLeaseDuration()
Gets the lease duration if the path is leased. |
Lease |
getLeaseState()
Gets the lease state of the path. |
Lease |
getLeaseStatus()
Gets the lease status of the path. |
Map<String,String> |
getMetadata()
Gets the metadata associated to this path. |
String |
getOwner()
Get the owner property of the path: The owner property. |
String |
getPermissions()
Get the permissions property of the path: The permissions property. |
Boolean |
isDirectory()
Gets whether this path represents a directory. |
Boolean |
isIncrementalCopy()
Gets the status of the path being an incremental copy file. |
Boolean |
isServerEncrypted()
Gets the status of the path being encrypted on the server. |
Methods inherited from java.lang.Object
Constructor Details
PathProperties
public PathProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long fileSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, AccessTier accessTier, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map
Constructs a PathProperties.
Parameters:
null
.
PathProperties
public PathProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long fileSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, AccessTier accessTier, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map
Constructs a PathProperties.
Parameters:
null
.
Method Details
getAccessControlList
public List
Optional. The POSIX access control list for the file or directory.
Returns:
getAccessTier
public AccessTier getAccessTier()
Gets the tier of the path.
Returns:
getAccessTierChangeTime
public OffsetDateTime getAccessTierChangeTime()
Gets the time when the access tier for the path was last changed.
Returns:
getArchiveStatus
public ArchiveStatus getArchiveStatus()
Gets the archive status of the path.
Returns:
getCacheControl
public String getCacheControl()
Gets the cache control of the path.
Returns:
getContentDisposition
public String getContentDisposition()
Gets the content disposition of the path.
Returns:
getContentEncoding
public String getContentEncoding()
Gets the content encoding of the path.
Returns:
getContentLanguage
public String getContentLanguage()
Gets the content language of the path.
Returns:
getContentMd5
public byte[] getContentMd5()
Gets the MD5 of the path's content.
Returns:
getContentType
public String getContentType()
Gets the content type of the path.
Returns:
getCopyCompletionTime
public OffsetDateTime getCopyCompletionTime()
Gets the completion time of the last copy operation.
Returns:
getCopyId
public String getCopyId()
Gets the identifier of the last copy operation.
Returns:
getCopyProgress
public String getCopyProgress()
Gets the number of bytes copied and total bytes in the source from the last copy operation.
Returns:
getCopySource
public String getCopySource()
Gets the source path URL from the last copy operation.
Returns:
getCopyStatus
public CopyStatusType getCopyStatus()
Gets the status of the last copy operation.
Returns:
getCopyStatusDescription
public String getCopyStatusDescription()
Gets the description of the last copy failure.
Returns:
getCreationTime
public OffsetDateTime getCreationTime()
Gets the time when the path was created.
Returns:
getEncryptionContext
public String getEncryptionContext()
Gets the encryption context for this path. Only applicable for files.
Returns:
getEncryptionKeySha256
public String getEncryptionKeySha256()
Gets the SHA256 of the encryption key used to encrypt the path.
Returns:
getEncryptionScope
public String getEncryptionScope()
Gets the path's encryption scope.
Returns:
getETag
public String getETag()
Gets the eTag of the path.
Returns:
getExpiresOn
public OffsetDateTime getExpiresOn()
Gets the time when the path is going to expire.
Returns:
getFileSize
public long getFileSize()
Gets the size of the path in bytes.
Returns:
getGroup
public String getGroup()
Get the group property of the path: The owner property.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the time when the path was last modified.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Gets the lease duration if the path is leased.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Gets the lease state of the path.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Gets the lease status of the path.
Returns:
getMetadata
public Map
Gets the metadata associated to this path.
Returns:
getOwner
public String getOwner()
Get the owner property of the path: The owner property.
Returns:
getPermissions
public String getPermissions()
Get the permissions property of the path: The permissions property.
Returns:
isDirectory
public Boolean isDirectory()
Gets whether this path represents a directory.
Returns:
isIncrementalCopy
public Boolean isIncrementalCopy()
Gets the status of the path being an incremental copy file.
Returns:
isServerEncrypted
public Boolean isServerEncrypted()
Gets the status of the path being encrypted on the server.
Returns:
Applies to
Azure SDK for Java