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.

WorkspaceImage

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

type WorkspaceImage struct { Description *string `min:"1" type:"string"` ErrorCode *string `type:"string"` ErrorMessage *string `type:"string"` ImageId *string `type:"string"` Name *string `min:"1" type:"string"` OperatingSystem *OperatingSystem `type:"structure"` RequiredTenancy *string `type:"string" enum:"WorkspaceImageRequiredTenancy"` State *string `type:"string" enum:"WorkspaceImageState"` }

Describes a WorkSpace image.

Description

Type: *string

The description of the image.

ErrorCode

Type: *string

The error code that is returned for the image.

ErrorMessage

Type: *string

The text of the error message that is returned for the image.

ImageId

Type: *string

The identifier of the image.

Name

Type: *string

The name of the image.

OperatingSystem

The operating system that the image is running.

RequiredTenancy

Type: *string

Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is enabled, this value is set to DEDICATED.

State

Type: *string

The status of the image.

Method

GoString

func (s WorkspaceImage) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetErrorCode

func (s *WorkspaceImage) SetErrorCode(v string) *WorkspaceImage

SetErrorCode sets the ErrorCode field's value.

SetErrorMessage

func (s *WorkspaceImage) SetErrorMessage(v string) *WorkspaceImage

SetErrorMessage sets the ErrorMessage field's value.

SetImageId

func (s *WorkspaceImage) SetImageId(v string) *WorkspaceImage

SetImageId sets the ImageId field's value.

SetName

func (s *WorkspaceImage) SetName(v string) *WorkspaceImage

SetName sets the Name field's value.

SetOperatingSystem

func (s *WorkspaceImage) SetOperatingSystem(v *OperatingSystem) *WorkspaceImage

SetOperatingSystem sets the OperatingSystem field's value.

SetRequiredTenancy

func (s *WorkspaceImage) SetRequiredTenancy(v string) *WorkspaceImage

SetRequiredTenancy sets the RequiredTenancy field's value.

SetState

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

SetState sets the State field's value.

String

func (s WorkspaceImage) String() string

String returns the string representation

On this page: