@Generated(value="software.amazon.awssdk:codegen") public final class DataTransfer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
Defines the real-time status of a Snowball's data transfer while the device is at AWS. This data is only available
while a job has a JobState
value of InProgress
, for both import and export jobs.
Modifier and Type | Class and Description |
---|---|
static interface |
DataTransfer.Builder |
Modifier and Type | Method and Description |
---|---|
static DataTransfer.Builder |
builder() |
Long |
bytesTransferred()
The number of bytes transferred between a Snowball and Amazon S3.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
objectsTransferred()
The number of objects transferred between a Snowball and Amazon S3.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataTransfer.Builder> |
serializableBuilderClass() |
DataTransfer.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
totalBytes()
The total bytes of data for a transfer between a Snowball and Amazon S3.
|
Long |
totalObjects()
The total number of objects for a transfer between a Snowball and Amazon S3.
|
copy
public Long bytesTransferred()
The number of bytes transferred between a Snowball and Amazon S3.
public Long objectsTransferred()
The number of objects transferred between a Snowball and Amazon S3.
public 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.
public 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.
public DataTransfer.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
public static DataTransfer.Builder builder()
public static Class<? extends DataTransfer.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.