CopyState Class

  • java.lang.Object
    • com.microsoft.azure.storage.blob.CopyState

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.

CopyStatus 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:

A long which represents the number of bytes copied.

getCompletionTime

public Date getCompletionTime()

Gets the time that the copy operation completed.

Returns:

A java.util.Date object which represents the time that the copy operation completed.

getCopyDestinationSnapshotID

public String getCopyDestinationSnapshotID()

Gets the snapshot ID of the last successful incremental copy snapshot.

Returns:

A 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:

A String which represents the ID of the copy operation.

getSource

public URI getSource()

Gets the source URI of the copy operation.

Returns:

A java.net.URI object which represents the source URI of the copy operation in a string.

getStatus

public CopyStatus getStatus()

Gets the status of the copy operation.

Returns:

A CopyStatus object representing the status of the copy operation.

getStatusDescription

public String getStatusDescription()

Gets the status description of the copy operation.

Returns:

A String which represents the status description.

getTotalBytes

public Long getTotalBytes()

Gets the number of bytes total number of bytes to copy.

Returns:

A long which represents the total number of bytes to copy.

Applies to