public class BlobCopyInfo extends Object
Constructor and Description |
---|
BlobCopyInfo(String copySource,
String copyId,
CopyStatusType copyStatus,
String eTag,
OffsetDateTime lastModified,
String error)
Creates an instance of
BlobCopyInfo . |
Modifier and Type | Method and Description |
---|---|
String |
getCopyId()
Gets the identifier for the copy operation.
|
String |
getCopySourceUrl()
Gets the url of the source blob.
|
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 complete, contains the ETag of the destination blob.
|
OffsetDateTime |
getLastModified()
Gets the date/time that the copy operation to the destination blob completed.
|
public BlobCopyInfo(String copySource, String copyId, CopyStatusType copyStatus, String eTag, OffsetDateTime lastModified, String error)
BlobCopyInfo
.copyId
- The identifier of the copy operation.copySource
- The url of the source blob. The contents are being copied from this blob.copyStatus
- The status of the copy operation.error
- An error message for the copy operation. null
if there are no errors.eTag
- If the copy is completed, contains the ETag of the destination blob. If the copy is not complete,
contains the ETag of the empty blob created.lastModified
- The date/time that the copy operation to the destination blob completed.NullPointerException
- If copyId
, copySource
, eTag
, or copyStatus
is null.public String getCopyId()
public String getCopySourceUrl()
public CopyStatusType getCopyStatus()
public String getError()
null
if there is no error associated with this
copy operation.public OffsetDateTime getLastModified()
public String getETag()
Copyright © 2019 Microsoft Corporation. All rights reserved.