ShareFileUploadInfo Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFileUploadInfo
- com.
public final class ShareFileUploadInfo
This class contains the response information returned from the service when the file is uploaded.
Constructor Summary
Constructor | Description |
---|---|
ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted) |
Constructs a ShareFileUploadInfo. |
Method Summary
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentMd5()
Gets the MD5 of the file's content. |
String |
getETag()
Gets the ETag of the file. |
Offset |
getLastModified()
Gets the time when the file was last modified. |
Boolean |
isServerEncrypted()
Gets whether the file's content is encrypted on the server. |
Methods inherited from java.lang.Object
Constructor Details
ShareFileUploadInfo
public ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)
Constructs a ShareFileUploadInfo.
Parameters:
Method Details
getContentMd5
public byte[] getContentMd5()
Gets the MD5 of the file's content.
Returns:
getETag
public String getETag()
Gets the ETag of the file.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the time when the file was last modified.
Returns:
isServerEncrypted
public Boolean isServerEncrypted()
Gets whether the file's content is encrypted on the server.
Returns:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應