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.

CreateRelationalDatabaseSnapshotInput

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

type CreateRelationalDatabaseSnapshotInput struct { RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"` RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list"` }

RelationalDatabaseName

Type: *string

The name of the database on which to base your new snapshot.

RelationalDatabaseName is a required field

RelationalDatabaseSnapshotName

Type: *string

The name for your new database snapshot.

Constraints:

  • Must contain from 2 to 255 alphanumeric characters, or hyphens.

  • The first and last character must be a letter or number.

RelationalDatabaseSnapshotName is a required field

Tags

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

Method

GoString

func (s CreateRelationalDatabaseSnapshotInput) GoString() string

GoString returns the string representation

SetRelationalDatabaseName

func (s *CreateRelationalDatabaseSnapshotInput) SetRelationalDatabaseName(v string) *CreateRelationalDatabaseSnapshotInput

SetRelationalDatabaseName sets the RelationalDatabaseName field's value.

SetRelationalDatabaseSnapshotName

func (s *CreateRelationalDatabaseSnapshotInput) SetRelationalDatabaseSnapshotName(v string) *CreateRelationalDatabaseSnapshotInput

SetRelationalDatabaseSnapshotName sets the RelationalDatabaseSnapshotName field's value.

SetTags

func (s *CreateRelationalDatabaseSnapshotInput) SetTags(v []*Tag) *CreateRelationalDatabaseSnapshotInput

SetTags sets the Tags field's value.

String

func (s CreateRelationalDatabaseSnapshotInput) String() string

String returns the string representation

Validate

func (s *CreateRelationalDatabaseSnapshotInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: