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.

BundleTask

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

type BundleTask struct { BundleId *string `locationName:"bundleId" type:"string"` BundleTaskError *BundleTaskError `locationName:"error" type:"structure"` InstanceId *string `locationName:"instanceId" type:"string"` Progress *string `locationName:"progress" type:"string"` StartTime *time.Time `locationName:"startTime" type:"timestamp"` State *string `locationName:"state" type:"string" enum:"BundleTaskState"` Storage *Storage `locationName:"storage" type:"structure"` UpdateTime *time.Time `locationName:"updateTime" type:"timestamp"` }

Describes a bundle task.

BundleId

Type: *string

The ID of the bundle task.

BundleTaskError

Describes an error for BundleInstance.

InstanceId

Type: *string

The ID of the instance associated with this bundle task.

Progress

Type: *string

The level of task completion, as a percent (for example, 20%).

StartTime

Type: *time.Time

The time this task started.

State

Type: *string

The state of the task.

Storage

Describes the storage location for an instance store-backed AMI.

UpdateTime

Type: *time.Time

The time of the most recent update for the task.

Method

GoString

func (s BundleTask) GoString() string

GoString returns the string representation

SetBundleId

func (s *BundleTask) SetBundleId(v string) *BundleTask

SetBundleId sets the BundleId field's value.

SetBundleTaskError

func (s *BundleTask) SetBundleTaskError(v *BundleTaskError) *BundleTask

SetBundleTaskError sets the BundleTaskError field's value.

SetInstanceId

func (s *BundleTask) SetInstanceId(v string) *BundleTask

SetInstanceId sets the InstanceId field's value.

SetProgress

func (s *BundleTask) SetProgress(v string) *BundleTask

SetProgress sets the Progress field's value.

SetStartTime

func (s *BundleTask) SetStartTime(v time.Time) *BundleTask

SetStartTime sets the StartTime field's value.

SetState

func (s *BundleTask) SetState(v string) *BundleTask

SetState sets the State field's value.

SetStorage

func (s *BundleTask) SetStorage(v *Storage) *BundleTask

SetStorage sets the Storage field's value.

SetUpdateTime

func (s *BundleTask) SetUpdateTime(v time.Time) *BundleTask

SetUpdateTime sets the UpdateTime field's value.

String

func (s BundleTask) String() string

String returns the string representation

On this page: