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() |
String | getETag() |
Offset |
getLastModified() |
Boolean | isServerEncrypted() |
Methods inherited from java.lang.Object
Constructor Details
ShareFileUploadInfo
public ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)
Constructs a ShareFileUploadInfo.
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
getContentMd5
public byte[] getContentMd5()
Returns:
the MD5 of the file's content.
getETag
public String getETag()
Returns:
the ETag of the file.
getLastModified
public OffsetDateTime getLastModified()
Returns:
the time when the file was last modified.
isServerEncrypted
public Boolean isServerEncrypted()
Returns:
whether the file's content is encrypted on the server.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for