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.

RelationalDatabaseEvent

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

type RelationalDatabaseEvent struct { CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` EventCategories []*string `locationName:"eventCategories" type:"list"` Message *string `locationName:"message" type:"string"` Resource *string `locationName:"resource" type:"string"` }

Describes an event for a database.

CreatedAt

Type: *time.Time

The timestamp when the database event was created.

EventCategories

Type: []*string

The category that the database event belongs to.

Message

Type: *string

The message of the database event.

Resource

Type: *string

The database that the database event relates to.

Method

GoString

func (s RelationalDatabaseEvent) GoString() string

GoString returns the string representation

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetEventCategories

func (s *RelationalDatabaseEvent) SetEventCategories(v []*string) *RelationalDatabaseEvent

SetEventCategories sets the EventCategories field's value.

SetMessage

func (s *RelationalDatabaseEvent) SetMessage(v string) *RelationalDatabaseEvent

SetMessage sets the Message field's value.

SetResource

func (s *RelationalDatabaseEvent) SetResource(v string) *RelationalDatabaseEvent

SetResource sets the Resource field's value.

String

func (s RelationalDatabaseEvent) String() string

String returns the string representation

On this page: