CopyState Class
- java.
lang. Object - com.
microsoft. azure. storage. blob. 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 |
getCopyDestinationSnapshotID()
Gets the snapshot ID of the last successful incremental copy snapshot. |
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:
getCopyDestinationSnapshotID
public String getCopyDestinationSnapshotID()
Gets the snapshot ID of the last successful incremental copy snapshot.
Returns:
String
which represents the snapshot ID of the last successful incremental copy snapshot.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