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.

ExportSnapshotRecord

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

type ExportSnapshotRecord struct { Arn *string `locationName:"arn" type:"string"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` DestinationInfo *DestinationInfo `locationName:"destinationInfo" type:"structure"` Location *ResourceLocation `locationName:"location" type:"structure"` Name *string `locationName:"name" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` SourceInfo *ExportSnapshotRecordSourceInfo `locationName:"sourceInfo" type:"structure"` State *string `locationName:"state" type:"string" enum:"RecordState"` }

Describes an export snapshot record.

Arn

Type: *string

The Amazon Resource Name (ARN) of the export snapshot record.

CreatedAt

Type: *time.Time

The date when the export snapshot record was created.

DestinationInfo

Describes the destination of a record.

Location

Describes the resource location.

Name

Type: *string

The export snapshot record name.

ResourceType

Type: *string

The Lightsail resource type (e.g., ExportSnapshotRecord).

SourceInfo

Describes the source of an export snapshot record.

State

Type: *string

The state of the export snapshot record.

Method

GoString

func (s ExportSnapshotRecord) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetDestinationInfo

func (s *ExportSnapshotRecord) SetDestinationInfo(v *DestinationInfo) *ExportSnapshotRecord

SetDestinationInfo sets the DestinationInfo field's value.

SetLocation

func (s *ExportSnapshotRecord) SetLocation(v *ResourceLocation) *ExportSnapshotRecord

SetLocation sets the Location field's value.

SetName

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

SetName sets the Name field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

SetSourceInfo

func (s *ExportSnapshotRecord) SetSourceInfo(v *ExportSnapshotRecordSourceInfo) *ExportSnapshotRecord

SetSourceInfo sets the SourceInfo field's value.

SetState

func (s *ExportSnapshotRecord) SetState(v string) *ExportSnapshotRecord

SetState sets the State field's value.

String

func (s ExportSnapshotRecord) String() string

String returns the string representation

On this page: