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.

ImportInstanceVolumeDetailItem

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

type ImportInstanceVolumeDetailItem struct { AvailabilityZone *string `locationName:"availabilityZone" type:"string"` BytesConverted *int64 `locationName:"bytesConverted" type:"long"` Description *string `locationName:"description" type:"string"` Image *DiskImageDescription `locationName:"image" type:"structure"` Status *string `locationName:"status" type:"string"` StatusMessage *string `locationName:"statusMessage" type:"string"` Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure"` }

Describes an import volume task.

AvailabilityZone

Type: *string

The Availability Zone where the resulting instance will reside.

BytesConverted

Type: *int64

The number of bytes converted so far.

Description

Type: *string

A description of the task.

Image

Describes a disk image.

Status

Type: *string

The status of the import of this particular disk image.

StatusMessage

Type: *string

The status information or errors related to the disk image.

Volume

Describes a disk image volume.

Method

GoString

func (s ImportInstanceVolumeDetailItem) GoString() string

GoString returns the string representation

SetAvailabilityZone

func (s *ImportInstanceVolumeDetailItem) SetAvailabilityZone(v string) *ImportInstanceVolumeDetailItem

SetAvailabilityZone sets the AvailabilityZone field's value.

SetBytesConverted

func (s *ImportInstanceVolumeDetailItem) SetBytesConverted(v int64) *ImportInstanceVolumeDetailItem

SetBytesConverted sets the BytesConverted field's value.

SetDescription

func (s *ImportInstanceVolumeDetailItem) SetDescription(v string) *ImportInstanceVolumeDetailItem

SetDescription sets the Description field's value.

SetImage

func (s *ImportInstanceVolumeDetailItem) SetImage(v *DiskImageDescription) *ImportInstanceVolumeDetailItem

SetImage sets the Image field's value.

SetStatus

func (s *ImportInstanceVolumeDetailItem) SetStatus(v string) *ImportInstanceVolumeDetailItem

SetStatus sets the Status field's value.

SetStatusMessage

func (s *ImportInstanceVolumeDetailItem) SetStatusMessage(v string) *ImportInstanceVolumeDetailItem

SetStatusMessage sets the StatusMessage field's value.

SetVolume

func (s *ImportInstanceVolumeDetailItem) SetVolume(v *DiskImageVolumeDescription) *ImportInstanceVolumeDetailItem

SetVolume sets the Volume field's value.

String

func (s ImportInstanceVolumeDetailItem) String() string

String returns the string representation

On this page: