CopyState Class
- java.
lang. Object - com.
microsoft. azure. storage. file. CopyState
- com.
public class CopyState
Represents the attributes of a copy operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
getBytesCopied()
Gets the number of bytes copied in the operation so far. |
Date |
getCompletionTime()
Gets the time that the copy operation completed. |
String |
getCopyId()
Gets the ID of the copy operation. |
URI |
getSource()
Gets the source URI of the copy operation. |
Copy |
getStatus()
Gets the status of the copy operation. |
String |
getStatusDescription()
Gets the status description of the copy operation. |
Long |
getTotalBytes()
Gets the number of bytes total number of bytes to copy. |
Method Details
getBytesCopied
public Long getBytesCopied()
Gets the number of bytes copied in the operation so far.
Returns:
long
which represents the number of bytes copied.getCompletionTime
public Date getCompletionTime()
Gets the time that the copy operation completed.
Returns:
getCopyId
public String getCopyId()
Gets the ID of the copy operation.
Returns:
String
which represents the ID of the copy operation.getSource
public URI getSource()
Gets the source URI of the copy operation.
Returns:
getStatus
public CopyStatus getStatus()
Gets the status of the copy operation.
Returns:
CopyStatus
object representing the status of the copy operation.getStatusDescription
public String getStatusDescription()
Gets the status description of the copy operation.
Returns:
String
which represents the status description.getTotalBytes
public Long getTotalBytes()
Gets the number of bytes total number of bytes to copy.
Returns:
long
which represents the total number of bytes to copy/Applies to
Azure SDK for Java