BlobCopyInfo Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobCopyInfo
- com.
public class BlobCopyInfo
The status of a long running Azure Blob copy operation.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getCopyId()
Gets the identifier for the copy operation. |
String |
getCopySourceUrl()
Gets the url of the source blob. |
Copy |
getCopyStatus()
Gets the status of the copy operation. |
String |
getETag()
If the copy is complete, contains the ETag of the destination blob. |
String |
getEncryptionScope()
Gets the encryption scope of the destination blob. |
String |
getError()
Gets an error description associated with the copy operation. |
Offset |
getLastModified()
Gets the date/time that the copy operation to the destination blob completed. |
String |
getVersionId()
Gets the version identifier of the destination blob completed. |
Methods inherited from java.lang.Object
Constructor Details
BlobCopyInfo
public BlobCopyInfo(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error)
Creates an instance of BlobCopyInfo.
Parameters:
null
if there are no errors.
BlobCopyInfo
public BlobCopyInfo(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error, String versionId)
Creates an instance of BlobCopyInfo.
Parameters:
null
if there are no errors.
BlobCopyInfo
public BlobCopyInfo(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error, String versionId, String encryptionScope)
Creates an instance of BlobCopyInfo.
Parameters:
null
if there are no errors.
Method Details
getCopyId
public String getCopyId()
Gets the identifier for the copy operation.
Returns:
getCopySourceUrl
public String getCopySourceUrl()
Gets the url of the source blob.
Returns:
getCopyStatus
public CopyStatusType getCopyStatus()
Gets the status of the copy operation.
Returns:
getETag
public String getETag()
If the copy is complete, contains the ETag of the destination blob. If the copy isn't complete, contains the ETag of the empty blob created at the start of the copy. The ETag value will be in quotes.
Returns:
getEncryptionScope
public String getEncryptionScope()
Gets the encryption scope of the destination blob.
Returns:
getError
public String getError()
Gets an error description associated with the copy operation.
Returns:
null
if there is no error associated with this
copy operation.getLastModified
public OffsetDateTime getLastModified()
Gets the date/time that the copy operation to the destination blob completed.
Returns:
getVersionId
public String getVersionId()
Gets the version identifier of the destination blob completed.
Returns: