### YamlMime:JavaType
uid: "com.azure.storage.file.share.models.ShareFileUploadInfo"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo"
name: "ShareFileUploadInfo"
nameWithType: "ShareFileUploadInfo"
summary: "This class contains the response information returned from the service when the file is uploaded."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **ShareFileUploadInfo**"
constructors:
- uid: "com.azure.storage.file.share.models.ShareFileUploadInfo.ShareFileUploadInfo(java.lang.String,java.time.OffsetDateTime,byte[],java.lang.Boolean)"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo.ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)"
name: "ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)"
nameWithType: "ShareFileUploadInfo.ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)"
summary: "Constructs a ."
parameters:
- description: "ETag of the file."
name: "eTag"
type: "String"
- description: "Datetime when the file was last modified."
name: "lastModified"
type: "OffsetDateTime"
- description: "MD5 of the file's content."
name: "contentMd5"
type: "[]"
- description: "Flag indicating the encryption status of the file's content on the server."
name: "isServerEncrypted"
type: "Boolean"
syntax: "public ShareFileUploadInfo(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted)"
desc: "Constructs a ."
methods:
- uid: "com.azure.storage.file.share.models.ShareFileUploadInfo.getContentMd5()"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo.getContentMd5()"
name: "getContentMd5()"
nameWithType: "ShareFileUploadInfo.getContentMd5()"
summary: "Gets the MD5 of the file's content."
syntax: "public byte[] getContentMd5()"
desc: "Gets the MD5 of the file's content."
returns:
description: "the MD5 of the file's content."
type: "[]"
- uid: "com.azure.storage.file.share.models.ShareFileUploadInfo.getETag()"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo.getETag()"
name: "getETag()"
nameWithType: "ShareFileUploadInfo.getETag()"
summary: "Gets the ETag of the file."
syntax: "public String getETag()"
desc: "Gets the ETag of the file."
returns:
description: "the ETag of the file."
type: "String"
- uid: "com.azure.storage.file.share.models.ShareFileUploadInfo.getLastModified()"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo.getLastModified()"
name: "getLastModified()"
nameWithType: "ShareFileUploadInfo.getLastModified()"
summary: "Gets the time when the file was last modified."
syntax: "public OffsetDateTime getLastModified()"
desc: "Gets the time when the file was last modified."
returns:
description: "the time when the file was last modified."
type: "OffsetDateTime"
- uid: "com.azure.storage.file.share.models.ShareFileUploadInfo.isServerEncrypted()"
fullName: "com.azure.storage.file.share.models.ShareFileUploadInfo.isServerEncrypted()"
name: "isServerEncrypted()"
nameWithType: "ShareFileUploadInfo.isServerEncrypted()"
summary: "Gets whether the file's content is encrypted on the server."
syntax: "public Boolean isServerEncrypted()"
desc: "Gets whether the file's content is encrypted on the server."
returns:
description: "whether the file's content is encrypted on the server."
type: "Boolean"
type: "class"
desc: "This class contains the response information returned from the service when the file is uploaded."
metadata: {}
package: "com.azure.storage.file.share.models"
artifact: com.azure:azure-storage-file-share:12.24.0