Class ShareFileUploadInfo
- java.lang.Object
-
- com.azure.storage.file.share.models.ShareFileUploadInfo
-
public final class ShareFileUploadInfo extends Object
This class contains the response information returned from the service when the file is uploaded.
-
-
Constructor Summary
Constructors Constructor Description ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)
Constructs aShareFileUploadInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContentMd5()
String
getETag()
OffsetDateTime
getLastModified()
Boolean
isServerEncrypted()
-
-
-
Constructor Detail
-
ShareFileUploadInfo
public ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)
Constructs aShareFileUploadInfo
.- Parameters:
eTag
- ETag of the file.lastModified
- Datetime when the file was last modified.contentMd5
- MD5 of the file's content.isServerEncrypted
- Flag indicating the encryption status of the file's content on the server.
-
-
Method Detail
-
getETag
public String getETag()
- Returns:
- the ETag of the file.
-
getLastModified
public OffsetDateTime getLastModified()
- Returns:
- the time when the file was last modified.
-
getContentMd5
public byte[] getContentMd5()
- Returns:
- the MD5 of the file's content.
-
isServerEncrypted
public Boolean isServerEncrypted()
- Returns:
- whether the file's content is encrypted on the server.
-
-