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.

ExportSnapshotRecordSourceInfo

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

type ExportSnapshotRecordSourceInfo struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` DiskSnapshotInfo *DiskSnapshotInfo `locationName:"diskSnapshotInfo" type:"structure"` FromResourceArn *string `locationName:"fromResourceArn" type:"string"` FromResourceName *string `locationName:"fromResourceName" type:"string"` InstanceSnapshotInfo *InstanceSnapshotInfo `locationName:"instanceSnapshotInfo" type:"structure"` Name *string `locationName:"name" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ExportSnapshotRecordSourceType"` }

Describes the source of an export snapshot record.

Arn

Type: *string

The Amazon Resource Name (ARN) of the source instance or disk snapshot.

CreatedAt

Type: *time.Time

The date when the source instance or disk snapshot was created.

DiskSnapshotInfo

Describes a disk snapshot.

FromResourceArn

Type: *string

The Amazon Resource Name (ARN) of the snapshot's source instance or disk.

FromResourceName

Type: *string

The name of the snapshot's source instance or disk.

InstanceSnapshotInfo

Describes an instance snapshot.

Name

Type: *string

The name of the source instance or disk snapshot.

ResourceType

Type: *string

The Lightsail resource type (e.g., InstanceSnapshot or DiskSnapshot).

Method

GoString

func (s ExportSnapshotRecordSourceInfo) GoString() string

GoString returns the string representation

SetArn

func (s *ExportSnapshotRecordSourceInfo) SetArn(v string) *ExportSnapshotRecordSourceInfo

SetArn sets the Arn field's value.

SetCreatedAt

func (s *ExportSnapshotRecordSourceInfo) SetCreatedAt(v time.Time) *ExportSnapshotRecordSourceInfo

SetCreatedAt sets the CreatedAt field's value.

SetDiskSnapshotInfo

func (s *ExportSnapshotRecordSourceInfo) SetDiskSnapshotInfo(v *DiskSnapshotInfo) *ExportSnapshotRecordSourceInfo

SetDiskSnapshotInfo sets the DiskSnapshotInfo field's value.

SetFromResourceArn

func (s *ExportSnapshotRecordSourceInfo) SetFromResourceArn(v string) *ExportSnapshotRecordSourceInfo

SetFromResourceArn sets the FromResourceArn field's value.

SetFromResourceName

func (s *ExportSnapshotRecordSourceInfo) SetFromResourceName(v string) *ExportSnapshotRecordSourceInfo

SetFromResourceName sets the FromResourceName field's value.

SetInstanceSnapshotInfo

func (s *ExportSnapshotRecordSourceInfo) SetInstanceSnapshotInfo(v *InstanceSnapshotInfo) *ExportSnapshotRecordSourceInfo

SetInstanceSnapshotInfo sets the InstanceSnapshotInfo field's value.

SetName

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

SetName sets the Name field's value.

SetResourceType

func (s *ExportSnapshotRecordSourceInfo) SetResourceType(v string) *ExportSnapshotRecordSourceInfo

SetResourceType sets the ResourceType field's value.

String

func (s ExportSnapshotRecordSourceInfo) String() string

String returns the string representation

On this page: