AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DataTransfer

import "github.com/aws/aws-sdk-go/service/snowball"

type DataTransfer struct { BytesTransferred *int64 `type:"long"` ObjectsTransferred *int64 `type:"long"` TotalBytes *int64 `type:"long"` TotalObjects *int64 `type:"long"` }

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.

BytesTransferred

Type: *int64

The number of bytes transferred between a Snowball and Amazon S3.

ObjectsTransferred

Type: *int64

The number of objects transferred between a Snowball and Amazon S3.

TotalBytes

Type: *int64

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.

TotalObjects

Type: *int64

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.

Method

GoString

func (s DataTransfer) GoString() string

GoString returns the string representation

SetBytesTransferred

func (s *DataTransfer) SetBytesTransferred(v int64) *DataTransfer

SetBytesTransferred sets the BytesTransferred field's value.

SetObjectsTransferred

func (s *DataTransfer) SetObjectsTransferred(v int64) *DataTransfer

SetObjectsTransferred sets the ObjectsTransferred field's value.

SetTotalBytes

func (s *DataTransfer) SetTotalBytes(v int64) *DataTransfer

SetTotalBytes sets the TotalBytes field's value.

SetTotalObjects

func (s *DataTransfer) SetTotalObjects(v int64) *DataTransfer

SetTotalObjects sets the TotalObjects field's value.

String

func (s DataTransfer) String() string

String returns the string representation

On this page: