public final class ShareFileCopyInfo extends Object
Constructor and Description |
---|
ShareFileCopyInfo(String copySource,
String copyId,
CopyStatusType copyStatus,
String eTag,
OffsetDateTime lastModified,
String error)
Creates an instance of copy information about a specific File.
|
Modifier and Type | Method and Description |
---|---|
String |
getCopyId()
Gets the string identifier for this copy operation.
|
String |
getCopySourceUrl()
Gets the the source file used in the last attempted copy file operation.
|
CopyStatusType |
getCopyStatus()
Gets the status of the copy operation.
|
String |
getError()
Gets an error description associated with the copy operation.
|
String |
getETag()
If the copy is completed, contains the ETag of the destination file.
|
OffsetDateTime |
getLastModified()
Gets the date/time that the copy operation to the destination file completed.
|
public ShareFileCopyInfo(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error)
eTag
- 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.lastModified
- The date/time that the copy operation to the destination file completed.copyId
- String identifier for this copy operation.copyStatus
- State of the copy operation with these values:
copySource
- The url of the source file.error
- An error message for the copy operation. null
if there are no errors.public String getETag()
public OffsetDateTime getLastModified()
public String getCopyId()
public CopyStatusType getCopyStatus()
public String getCopySourceUrl()
public String getError()
null
if there is no error associated with this
copy operation.Copyright © 2020 Microsoft Corporation. All rights reserved.