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.

ImportInstanceTaskDetails

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

type ImportInstanceTaskDetails struct { Description *string `locationName:"description" type:"string"` InstanceId *string `locationName:"instanceId" type:"string"` Platform *string `locationName:"platform" type:"string" enum:"PlatformValues"` Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list"` }

Describes an import instance task.

Description

Type: *string

A description of the task.

InstanceId

Type: *string

The ID of the instance.

Platform

Type: *string

The instance operating system.

Volumes

Describes an import volume task.

Method

GoString

func (s ImportInstanceTaskDetails) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

SetPlatform

func (s *ImportInstanceTaskDetails) SetPlatform(v string) *ImportInstanceTaskDetails

SetPlatform sets the Platform field's value.

SetVolumes

func (s *ImportInstanceTaskDetails) SetVolumes(v []*ImportInstanceVolumeDetailItem) *ImportInstanceTaskDetails

SetVolumes sets the Volumes field's value.

String

func (s ImportInstanceTaskDetails) String() string

String returns the string representation

On this page: