Class DataTransfer
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.DataTransfer
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
@Generated("software.amazon.awssdk:codegen") public final class DataTransfer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataTransfer.Builder,DataTransfer>
Defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a
JobStatevalue ofInProgress, for both import and export jobs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataTransfer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataTransfer.Builderbuilder()LongbytesTransferred()The number of bytes transferred between a Snow device and Amazon S3.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongobjectsTransferred()The number of objects transferred between a Snow device and Amazon S3.List<SdkField<?>>sdkFields()static Class<? extends DataTransfer.Builder>serializableBuilderClass()DataTransfer.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalBytes()The total bytes of data for a transfer between a Snow device and Amazon S3.LongtotalObjects()The total number of objects for a transfer between a Snow device and Amazon S3.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bytesTransferred
public final Long bytesTransferred()
The number of bytes transferred between a Snow device and Amazon S3.
- Returns:
- The number of bytes transferred between a Snow device and Amazon S3.
-
objectsTransferred
public final Long objectsTransferred()
The number of objects transferred between a Snow device and Amazon S3.
- Returns:
- The number of objects transferred between a Snow device and Amazon S3.
-
totalBytes
public final Long totalBytes()
The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
- Returns:
- The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
-
totalObjects
public final Long totalObjects()
The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
- Returns:
- The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
-
toBuilder
public DataTransfer.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataTransfer.Builder,DataTransfer>
-
builder
public static DataTransfer.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataTransfer.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-