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.

DiskSnapshotInfo

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

type DiskSnapshotInfo struct { SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` }

Describes a disk snapshot.

SizeInGb

Type: *int64

The size of the disk in GB (e.g., 32).

Method

GoString

func (s DiskSnapshotInfo) GoString() string

GoString returns the string representation

SetSizeInGb

func (s *DiskSnapshotInfo) SetSizeInGb(v int64) *DiskSnapshotInfo

SetSizeInGb sets the SizeInGb field's value.

String

func (s DiskSnapshotInfo) String() string

String returns the string representation

On this page: