StructuredPojo
, ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
@Generated("software.amazon.awssdk:codegen") public class DataTransfer extends Object implements StructuredPojo, ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DataTransfer.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DataTransfer.Builder |
builder() |
|
Long |
bytesTransferred() |
The number of bytes transferred between a Snowball and Amazon S3.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
objectsTransferred() |
The number of objects transferred between a Snowball and Amazon S3.
|
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.