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.

Snapshot

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

type Snapshot struct { DirectoryId *string `type:"string"` Name *string `type:"string"` SnapshotId *string `type:"string"` StartTime *time.Time `type:"timestamp"` Status *string `type:"string" enum:"SnapshotStatus"` Type *string `type:"string" enum:"SnapshotType"` }

Describes a directory snapshot.

DirectoryId

Type: *string

The directory identifier.

Name

Type: *string

The descriptive name of the snapshot.

SnapshotId

Type: *string

The snapshot identifier.

StartTime

Type: *time.Time

The date and time that the snapshot was taken.

Status

Type: *string

The snapshot status.

Type

Type: *string

The snapshot type.

Method

GoString

func (s Snapshot) GoString() string

GoString returns the string representation

SetDirectoryId

func (s *Snapshot) SetDirectoryId(v string) *Snapshot

SetDirectoryId sets the DirectoryId field's value.

SetName

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

SetName sets the Name field's value.

SetSnapshotId

func (s *Snapshot) SetSnapshotId(v string) *Snapshot

SetSnapshotId sets the SnapshotId field's value.

SetStartTime

func (s *Snapshot) SetStartTime(v time.Time) *Snapshot

SetStartTime sets the StartTime field's value.

SetStatus

func (s *Snapshot) SetStatus(v string) *Snapshot

SetStatus sets the Status field's value.

SetType

func (s *Snapshot) SetType(v string) *Snapshot

SetType sets the Type field's value.

String

func (s Snapshot) String() string

String returns the string representation

On this page: