public class PathProperties extends Object
Constructor and Description |
---|
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<String,String> metadata)
Constructs a
PathProperties . |
Modifier and Type | Method and Description |
---|---|
AccessTier |
getAccessTier() |
OffsetDateTime |
getAccessTierChangeTime() |
ArchiveStatus |
getArchiveStatus() |
String |
getCacheControl() |
String |
getContentDisposition() |
String |
getContentEncoding() |
String |
getContentLanguage() |
byte[] |
getContentMd5() |
String |
getContentType() |
OffsetDateTime |
getCopyCompletionTime() |
String |
getCopyId() |
String |
getCopyProgress() |
String |
getCopySource() |
CopyStatusType |
getCopyStatus() |
String |
getCopyStatusDescription() |
OffsetDateTime |
getCreationTime() |
String |
getEncryptionKeySha256() |
String |
getETag() |
long |
getFileSize() |
OffsetDateTime |
getLastModified() |
LeaseDurationType |
getLeaseDuration() |
LeaseStateType |
getLeaseState() |
LeaseStatusType |
getLeaseStatus() |
Map<String,String> |
getMetadata() |
Boolean |
isDirectory() |
Boolean |
isIncrementalCopy() |
Boolean |
isServerEncrypted() |
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<String,String> metadata)
PathProperties
.creationTime
- Creation time of the file.lastModified
- Datetime when the file was last modified.eTag
- ETag of the file.fileSize
- Size of the file.contentType
- Content type specified for the file.contentMd5
- Content MD5 specified for the file.contentEncoding
- Content encoding specified for the file.contentDisposition
- Content disposition specified for the file.contentLanguage
- Content language specified for the file.cacheControl
- Cache control specified for the file.leaseStatus
- Status of the lease on the file.leaseState
- State of the lease on the file.leaseDuration
- Type of lease on the file.copyId
- Identifier of the last copy operation performed on the file.copyStatus
- Status of the last copy operation performed on the file.copySource
- Source of the last copy operation performed on the file.copyProgress
- Progress of the last copy operation performed on the file.copyCompletionTime
- Datetime when the last copy operation on the file completed.copyStatusDescription
- Description of the last copy operation on the file.isServerEncrypted
- Flag indicating if the file's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the file was incrementally copied.accessTier
- Access tier of the file.archiveStatus
- Archive status of the file.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the file on the server.accessTierChangeTime
- Datetime when the access tier of the file last changed.metadata
- Metadata associated with the file.
pass null
.public OffsetDateTime getCreationTime()
public OffsetDateTime getLastModified()
public String getETag()
public long getFileSize()
public String getContentType()
public byte[] getContentMd5()
public String getContentEncoding()
public String getContentDisposition()
public String getContentLanguage()
public String getCacheControl()
public LeaseStatusType getLeaseStatus()
public LeaseStateType getLeaseState()
public LeaseDurationType getLeaseDuration()
public String getCopyId()
public CopyStatusType getCopyStatus()
public String getCopySource()
public String getCopyProgress()
public OffsetDateTime getCopyCompletionTime()
public String getCopyStatusDescription()
getCopyStatus
is
failed
or aborted
. If this path hasn't been the
target of a copy operation or has been modified since this won't be set.public Boolean isServerEncrypted()
public Boolean isIncrementalCopy()
public AccessTier getAccessTier()
public ArchiveStatus getArchiveStatus()
public String getEncryptionKeySha256()
public OffsetDateTime getAccessTierChangeTime()
public Boolean isDirectory()
Copyright © 2020 Microsoft Corporation. All rights reserved.