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
Azure SDK for Java