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.

LogEvent

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

type LogEvent struct { CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` Message *string `locationName:"message" type:"string"` }

Describes a database log event.

CreatedAt

Type: *time.Time

The timestamp when the database log event was created.

Message

Type: *string

The message of the database log event.

Method

GoString

func (s LogEvent) GoString() string

GoString returns the string representation

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetMessage

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

SetMessage sets the Message field's value.

String

func (s LogEvent) String() string

String returns the string representation

On this page: