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.

ImportWorkspaceImageInput

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

type ImportWorkspaceImageInput struct { Ec2ImageId *string `type:"string" required:"true"` ImageDescription *string `min:"1" type:"string" required:"true"` ImageName *string `min:"1" type:"string" required:"true"` IngestionProcess *string `type:"string" required:"true" enum:"WorkspaceImageIngestionProcess"` }

Ec2ImageId

Type: *string

The identifier of the EC2 image.

Ec2ImageId is a required field

ImageDescription

Type: *string

The description of the WorkSpace image.

ImageDescription is a required field

ImageName

Type: *string

The name of the WorkSpace image.

ImageName is a required field

IngestionProcess

Type: *string

The ingestion process to be used when importing the image.

IngestionProcess is a required field

Method

GoString

func (s ImportWorkspaceImageInput) GoString() string

GoString returns the string representation

SetEc2ImageId

func (s *ImportWorkspaceImageInput) SetEc2ImageId(v string) *ImportWorkspaceImageInput

SetEc2ImageId sets the Ec2ImageId field's value.

SetImageDescription

func (s *ImportWorkspaceImageInput) SetImageDescription(v string) *ImportWorkspaceImageInput

SetImageDescription sets the ImageDescription field's value.

SetImageName

func (s *ImportWorkspaceImageInput) SetImageName(v string) *ImportWorkspaceImageInput

SetImageName sets the ImageName field's value.

SetIngestionProcess

func (s *ImportWorkspaceImageInput) SetIngestionProcess(v string) *ImportWorkspaceImageInput

SetIngestionProcess sets the IngestionProcess field's value.

String

func (s ImportWorkspaceImageInput) String() string

String returns the string representation

Validate

func (s *ImportWorkspaceImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: