Class ShareFileUploadInfo
java.lang.Object
com.azure.storage.file.share.models.ShareFileUploadInfo
This class contains the response information returned from the service when the file is uploaded.
-
Constructor Summary
ConstructorsConstructorDescriptionShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted) Constructs aShareFileUploadInfo. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets the MD5 of the file's content.getETag()Gets the ETag of the file.Gets the time when the file was last modified.Gets whether the file's content is encrypted on the server.
-
Constructor Details
-
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 Details
-
getETag
Gets the ETag of the file.- Returns:
- the ETag of the file.
-
getLastModified
Gets the time when the file was last modified.- Returns:
- the time when the file was last modified.
-
getContentMd5
public byte[] getContentMd5()Gets the MD5 of the file's content.- Returns:
- the MD5 of the file's content.
-
isServerEncrypted
Gets whether the file's content is encrypted on the server.- Returns:
- whether the file's content is encrypted on the server.
-