Class DataTransfer

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)