public final class CopyState extends Object
| Constructor and Description |
|---|
CopyState()
Initializes a new instance of the CopyState class.
|
| 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 copy ID of the container.
|
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.
|
protected void |
setBytesCopied(Long bytesCopied)
Sets the number of bytes copied so far.
|
protected void |
setCompletionTime(Date completionTime)
Sets the time that the copy operation completed.
|
protected void |
setCopyId(String copyId)
Sets the copy ID of the container.
|
protected void |
setSource(URI source)
Sets the source URI of the copy operation.
|
protected void |
setStatus(CopyStatus status)
Sets the status of the copy operation.
|
protected void |
setStatusDescription(String statusDescription)
Sets the current status of the copy operation.
|
protected void |
setTotalBytes(Long totalBytes)
Sets the total number of bytes in the source to copy.
|
public String getCopyId()
String which represents the copy ID of the container.public Date getCompletionTime()
Date object which represents the time that the copy operation completed.public CopyStatus getStatus()
CopyStatus object representing the status of the copy operation.public URI getSource()
URI objeect which represents the source URI of the copy operation in a string.public Long getBytesCopied()
long which represents the number of bytes copied.public Long getTotalBytes()
public String getStatusDescription()
String which represents the status description.protected void setCopyId(String copyId)
copyId - A String which specifies the copy ID of the container to set.protected void setCompletionTime(Date completionTime)
completionTime - A Date object which specifies the time when the copy operation completed.protected void setStatus(CopyStatus status)
status - A CopyStatus object specifies the status of the copy operation.protected void setSource(URI source)
source - A URI object which specifies the source URI.protected void setBytesCopied(Long bytesCopied)
bytesCopied - A long which specifies the number of bytes copied.protected void setTotalBytes(Long totalBytes)
totalBytes - A long which specifies the number of bytes to copy.protected void setStatusDescription(String statusDescription)
statusDescription - A String which specifies the status description./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/