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.

WorkspaceProperties

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

type WorkspaceProperties struct { ComputeTypeName *string `type:"string" enum:"Compute"` RootVolumeSizeGib *int64 `type:"integer"` RunningMode *string `type:"string" enum:"RunningMode"` RunningModeAutoStopTimeoutInMinutes *int64 `type:"integer"` UserVolumeSizeGib *int64 `type:"integer"` }

Describes a WorkSpace.

ComputeTypeName

Type: *string

The compute type. For more information, see Amazon WorkSpaces Bundles (https://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles).

RootVolumeSizeGib

Type: *int64

The size of the root volume.

RunningMode

Type: *string

The running mode. For more information, see Manage the WorkSpace Running Mode (https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html).

RunningModeAutoStopTimeoutInMinutes

Type: *int64

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60 minute intervals.

UserVolumeSizeGib

Type: *int64

The size of the user storage.

Method

GoString

func (s WorkspaceProperties) GoString() string

GoString returns the string representation

SetComputeTypeName

func (s *WorkspaceProperties) SetComputeTypeName(v string) *WorkspaceProperties

SetComputeTypeName sets the ComputeTypeName field's value.

SetRootVolumeSizeGib

func (s *WorkspaceProperties) SetRootVolumeSizeGib(v int64) *WorkspaceProperties

SetRootVolumeSizeGib sets the RootVolumeSizeGib field's value.

SetRunningMode

func (s *WorkspaceProperties) SetRunningMode(v string) *WorkspaceProperties

SetRunningMode sets the RunningMode field's value.

SetRunningModeAutoStopTimeoutInMinutes

func (s *WorkspaceProperties) SetRunningModeAutoStopTimeoutInMinutes(v int64) *WorkspaceProperties

SetRunningModeAutoStopTimeoutInMinutes sets the RunningModeAutoStopTimeoutInMinutes field's value.

SetUserVolumeSizeGib

func (s *WorkspaceProperties) SetUserVolumeSizeGib(v int64) *WorkspaceProperties

SetUserVolumeSizeGib sets the UserVolumeSizeGib field's value.

String

func (s WorkspaceProperties) String() string

String returns the string representation

On this page: