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.

DiskMap

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

type DiskMap struct { NewDiskName *string `locationName:"newDiskName" type:"string"` OriginalDiskPath *string `locationName:"originalDiskPath" type:"string"` }

Describes a block storage disk mapping.

NewDiskName

Type: *string

The new disk name (e.g., my-new-disk).

OriginalDiskPath

Type: *string

The original disk path exposed to the instance (for example, /dev/sdh).

Method

GoString

func (s DiskMap) GoString() string

GoString returns the string representation

SetNewDiskName

func (s *DiskMap) SetNewDiskName(v string) *DiskMap

SetNewDiskName sets the NewDiskName field's value.

SetOriginalDiskPath

func (s *DiskMap) SetOriginalDiskPath(v string) *DiskMap

SetOriginalDiskPath sets the OriginalDiskPath field's value.

String

func (s DiskMap) String() string

String returns the string representation

On this page: