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.

WorkspaceConnectionStatus

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

type WorkspaceConnectionStatus struct { ConnectionState *string `type:"string" enum:"ConnectionState"` ConnectionStateCheckTimestamp *time.Time `type:"timestamp"` LastKnownUserConnectionTimestamp *time.Time `type:"timestamp"` WorkspaceId *string `type:"string"` }

Describes the connection status of a WorkSpace.

ConnectionState

Type: *string

The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.

ConnectionStateCheckTimestamp

Type: *time.Time

The timestamp of the connection status check.

LastKnownUserConnectionTimestamp

Type: *time.Time

The timestamp of the last known user connection.

WorkspaceId

Type: *string

The identifier of the WorkSpace.

Method

GoString

func (s WorkspaceConnectionStatus) GoString() string

GoString returns the string representation

SetConnectionState

func (s *WorkspaceConnectionStatus) SetConnectionState(v string) *WorkspaceConnectionStatus

SetConnectionState sets the ConnectionState field's value.

SetConnectionStateCheckTimestamp

func (s *WorkspaceConnectionStatus) SetConnectionStateCheckTimestamp(v time.Time) *WorkspaceConnectionStatus

SetConnectionStateCheckTimestamp sets the ConnectionStateCheckTimestamp field's value.

SetLastKnownUserConnectionTimestamp

func (s *WorkspaceConnectionStatus) SetLastKnownUserConnectionTimestamp(v time.Time) *WorkspaceConnectionStatus

SetLastKnownUserConnectionTimestamp sets the LastKnownUserConnectionTimestamp field's value.

SetWorkspaceId

func (s *WorkspaceConnectionStatus) SetWorkspaceId(v string) *WorkspaceConnectionStatus

SetWorkspaceId sets the WorkspaceId field's value.

String

func (s WorkspaceConnectionStatus) String() string

String returns the string representation

On this page: