@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataTransfer extends Object implements Serializable, Cloneable, StructuredPojo
Defines the real-time status of a Snowball's data transfer while the appliance is at AWS. This data is only available
while a job has a JobState value of InProgress, for both import and export jobs.
| Constructor and Description |
|---|
DataTransfer() |
| Modifier and Type | Method and Description |
|---|---|
DataTransfer |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesTransferred()
The number of bytes transferred between a Snowball and Amazon S3.
|
Long |
getObjectsTransferred()
The number of objects transferred between a Snowball and Amazon S3.
|
Long |
getTotalBytes()
The total bytes of data for a transfer between a Snowball and Amazon S3.
|
Long |
getTotalObjects()
The total number of objects for a transfer between a Snowball and Amazon S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBytesTransferred(Long bytesTransferred)
The number of bytes transferred between a Snowball and Amazon S3.
|
void |
setObjectsTransferred(Long objectsTransferred)
The number of objects transferred between a Snowball and Amazon S3.
|
void |
setTotalBytes(Long totalBytes)
The total bytes of data for a transfer between a Snowball and Amazon S3.
|
void |
setTotalObjects(Long totalObjects)
The total number of objects for a transfer between a Snowball and Amazon S3.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DataTransfer |
withBytesTransferred(Long bytesTransferred)
The number of bytes transferred between a Snowball and Amazon S3.
|
DataTransfer |
withObjectsTransferred(Long objectsTransferred)
The number of objects transferred between a Snowball and Amazon S3.
|
DataTransfer |
withTotalBytes(Long totalBytes)
The total bytes of data for a transfer between a Snowball and Amazon S3.
|
DataTransfer |
withTotalObjects(Long totalObjects)
The total number of objects for a transfer between a Snowball and Amazon S3.
|
public void setBytesTransferred(Long bytesTransferred)
The number of bytes transferred between a Snowball and Amazon S3.
bytesTransferred - The number of bytes transferred between a Snowball and Amazon S3.public Long getBytesTransferred()
The number of bytes transferred between a Snowball and Amazon S3.
public DataTransfer withBytesTransferred(Long bytesTransferred)
The number of bytes transferred between a Snowball and Amazon S3.
bytesTransferred - The number of bytes transferred between a Snowball and Amazon S3.public void setObjectsTransferred(Long objectsTransferred)
The number of objects transferred between a Snowball and Amazon S3.
objectsTransferred - The number of objects transferred between a Snowball and Amazon S3.public Long getObjectsTransferred()
The number of objects transferred between a Snowball and Amazon S3.
public DataTransfer withObjectsTransferred(Long objectsTransferred)
The number of objects transferred between a Snowball and Amazon S3.
objectsTransferred - The number of objects transferred between a Snowball and Amazon S3.public void setTotalBytes(Long totalBytes)
The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
totalBytes - The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero)
until all the keys that will be transferred have been listed.public Long getTotalBytes()
The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
public DataTransfer withTotalBytes(Long totalBytes)
The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
totalBytes - The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero)
until all the keys that will be transferred have been listed.public void setTotalObjects(Long totalObjects)
The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
totalObjects - The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero)
until all the keys that will be transferred have been listed.public Long getTotalObjects()
The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
public DataTransfer withTotalObjects(Long totalObjects)
The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
totalObjects - The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero)
until all the keys that will be transferred have been listed.public String toString()
toString in class ObjectObject.toString()public DataTransfer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.