public final class ShareFileProperties extends Object
| Constructor and Description |
|---|
ShareFileProperties(String eTag,
OffsetDateTime lastModified,
Map<String,String> metadata,
String fileType,
Long contentLength,
String contentType,
byte[] contentMd5,
String contentEncoding,
String cacheControl,
String contentDisposition,
LeaseStatusType leaseStatusType,
LeaseStateType leaseStateType,
LeaseDurationType leaseDurationType,
OffsetDateTime copyCompletionTime,
String copyStatusDescription,
String copyId,
String copyProgress,
String copySource,
CopyStatusType copyStatus,
Boolean isServerEncrypted,
FileSmbProperties smbProperties)
Creates an instance of property information about a specific File.
|
ShareFileProperties(String eTag,
OffsetDateTime lastModified,
Map<String,String> metadata,
String fileType,
Long contentLength,
String contentType,
byte[] contentMd5,
String contentEncoding,
String cacheControl,
String contentDisposition,
OffsetDateTime copyCompletionTime,
String copyStatusDescription,
String copyId,
String copyProgress,
String copySource,
CopyStatusType copyStatus,
Boolean isServerEncrypted,
FileSmbProperties smbProperties)
Creates an instance of property information about a specific File.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheControl() |
String |
getContentDisposition() |
String |
getContentEncoding() |
Long |
getContentLength() |
byte[] |
getContentMd5() |
String |
getContentType() |
OffsetDateTime |
getCopyCompletionTime() |
String |
getCopyId() |
String |
getCopyProgress() |
String |
getCopySource() |
CopyStatusType |
getCopyStatus() |
String |
getCopyStatusDescription() |
String |
getETag() |
String |
getFileType() |
OffsetDateTime |
getLastModified() |
LeaseDurationType |
getLeaseDuration() |
LeaseStateType |
getLeaseState() |
LeaseStatusType |
getLeaseStatus() |
Map<String,String> |
getMetadata() |
FileSmbProperties |
getSmbProperties() |
Boolean |
isServerEncrypted() |
public ShareFileProperties(String eTag, OffsetDateTime lastModified, Map<String,String> metadata, String fileType, Long contentLength, String contentType, byte[] contentMd5, String contentEncoding, String cacheControl, String contentDisposition, OffsetDateTime copyCompletionTime, String copyStatusDescription, String copyId, String copyProgress, String copySource, CopyStatusType copyStatus, Boolean isServerEncrypted, FileSmbProperties smbProperties)
eTag - Entity tag that corresponds to the directory.lastModified - Last time the directory was modified.metadata - A set of name-value pairs associated with this file as user-defined metadata.fileType - Type of the file.contentLength - The number of bytes present in the response body.contentType - The content type specified for the file. The default content type is
application/octet-stream.contentMd5 - The MD5 hash of the file to check the message content integrity.contentEncoding - This header returns the value that was specified for the Content-Encoding request header.cacheControl - This header is returned if it was previously specified for the file.contentDisposition - The value that was specified for the x-ms-content-disposition header and specifies how
to process the response.copyCompletionTime - Conclusion time of the last attempted Copy File operation where this file was the
destination file.copyStatusDescription - Appears when x-ms-copy-status is failed or pending. Describes cause of fatal or
non-fatal copy operation failure.copyId - String identifier for the last attempted Copy File operation where this file was the destination
file.copyProgress - Contains the number of bytes copied and the total bytes in the source in the last attempted
Copy File operation where this file was the destination file.copySource - URL up to 2KB in length that specifies the source file used in the last attempted Copy File
operation where this file was the destination file.copyStatus - State of the copy operation identified by x-ms-copy-id, with these values:
isServerEncrypted - The value of this header is set to true if the file data and application metadata are
completely encrypted using the specified algorithm. Otherwise, the value is set to false.smbProperties - The SMB properties of the file.public ShareFileProperties(String eTag, OffsetDateTime lastModified, Map<String,String> metadata, String fileType, Long contentLength, String contentType, byte[] contentMd5, String contentEncoding, String cacheControl, String contentDisposition, LeaseStatusType leaseStatusType, LeaseStateType leaseStateType, LeaseDurationType leaseDurationType, OffsetDateTime copyCompletionTime, String copyStatusDescription, String copyId, String copyProgress, String copySource, CopyStatusType copyStatus, Boolean isServerEncrypted, FileSmbProperties smbProperties)
eTag - Entity tag that corresponds to the directory.lastModified - Last time the directory was modified.metadata - A set of name-value pairs associated with this file as user-defined metadata.fileType - Type of the file.contentLength - The number of bytes present in the response body.contentType - The content type specified for the file. The default content type is
application/octet-stream.contentMd5 - The MD5 hash of the file to check the message content integrity.contentEncoding - This header returns the value that was specified for the Content-Encoding request header.cacheControl - This header is returned if it was previously specified for the file.contentDisposition - The value that was specified for the x-ms-content-disposition header and specifies how
to process the response.leaseStatusType - Status of the lease.leaseStateType - State of the lease.leaseDurationType - How long the lease has left.copyCompletionTime - Conclusion time of the last attempted Copy File operation where this file was the
destination file.copyStatusDescription - Appears when x-ms-copy-status is failed or pending. Describes cause of fatal or
non-fatal copy operation failure.copyId - String identifier for the last attempted Copy File operation where this file was the destination
file.copyProgress - Contains the number of bytes copied and the total bytes in the source in the last attempted
Copy File operation where this file was the destination file.copySource - URL up to 2KB in length that specifies the source file used in the last attempted Copy File
operation where this file was the destination file.copyStatus - State of the copy operation identified by x-ms-copy-id, with these values:
isServerEncrypted - The value of this header is set to true if the file data and application metadata are
completely encrypted using the specified algorithm. Otherwise, the value is set to false.smbProperties - The SMB properties of the file.public String getETag()
public OffsetDateTime getLastModified()
public Map<String,String> getMetadata()
public Long getContentLength()
public String getFileType()
public String getContentType()
public byte[] getContentMd5()
public String getContentEncoding()
public String getCacheControl()
public String getContentDisposition()
public LeaseStatusType getLeaseStatus()
public LeaseStateType getLeaseState()
public LeaseDurationType getLeaseDuration()
public OffsetDateTime getCopyCompletionTime()
public String getCopyStatusDescription()
public String getCopyId()
public String getCopyProgress()
public String getCopySource()
public CopyStatusType getCopyStatus()
public Boolean isServerEncrypted()
public FileSmbProperties getSmbProperties()
Copyright © 2021 Microsoft Corporation. All rights reserved.