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.

CreateOptionGroupInput

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

type CreateOptionGroupInput struct { EngineName *string `type:"string" required:"true"` MajorEngineVersion *string `type:"string" required:"true"` OptionGroupDescription *string `type:"string" required:"true"` OptionGroupName *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

EngineName

Type: *string

Specifies the name of the engine that this option group should be associated with.

EngineName is a required field

MajorEngineVersion

Type: *string

Specifies the major version of the engine that this option group should be associated with.

MajorEngineVersion is a required field

OptionGroupDescription

Type: *string

The description of the option group.

OptionGroupDescription is a required field

OptionGroupName

Type: *string

Specifies the name of the option group to be created.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

Example: myoptiongroup

OptionGroupName is a required field

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Method

GoString

func (s CreateOptionGroupInput) GoString() string

GoString returns the string representation

SetEngineName

func (s *CreateOptionGroupInput) SetEngineName(v string) *CreateOptionGroupInput

SetEngineName sets the EngineName field's value.

SetMajorEngineVersion

func (s *CreateOptionGroupInput) SetMajorEngineVersion(v string) *CreateOptionGroupInput

SetMajorEngineVersion sets the MajorEngineVersion field's value.

SetOptionGroupDescription

func (s *CreateOptionGroupInput) SetOptionGroupDescription(v string) *CreateOptionGroupInput

SetOptionGroupDescription sets the OptionGroupDescription field's value.

SetOptionGroupName

func (s *CreateOptionGroupInput) SetOptionGroupName(v string) *CreateOptionGroupInput

SetOptionGroupName sets the OptionGroupName field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateOptionGroupInput) String() string

String returns the string representation

Validate

func (s *CreateOptionGroupInput) Validate() error

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

On this page: