Class ShareFileCopyInfo
java.lang.Object
com.azure.storage.file.share.models.ShareFileCopyInfo
Contains copy information about a File in the storage File service.
-
Constructor Summary
ConstructorDescriptionShareFileCopyInfo
(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error) Creates an instance of copy information about a specific File. -
Method Summary
Modifier and TypeMethodDescriptionGets the string identifier for this copy operation.Gets the the source file used in the last attempted copy file operation.Gets the status of the copy operation.getError()
Gets an error description associated with the copy operation.getETag()
If the copy is completed, contains the ETag of the destination file.Gets the date/time that the copy operation to the destination file completed.
-
Constructor Details
-
Method Details
-
getETag
If the copy is completed, contains the ETag of the destination file. If the copy is not complete, contains the ETag of the empty file created at the start of the copy.- Returns:
- The ETag for the copy.
-
getLastModified
Gets the date/time that the copy operation to the destination file completed.- Returns:
- Gets the date/time that the copy operation to the destination file completed.
-
getCopyId
Gets the string identifier for this copy operation.- Returns:
- String identifier for this copy operation.
-
getCopyStatus
Gets the status of the copy operation. The status could be:- Returns:
- Status of the copy operation.
-
getCopySourceUrl
Gets the the source file used in the last attempted copy file operation.- Returns:
- The url of the source file.
-
getError
Gets an error description associated with the copy operation.- Returns:
- An error description associated with the copy, or
null
if there is no error associated with this copy operation.
-