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.

ModifyDBSubnetGroupInput

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

type ModifyDBSubnetGroupInput struct { DBSubnetGroupDescription *string `type:"string"` DBSubnetGroupName *string `type:"string" required:"true"` SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` }

DBSubnetGroupDescription

Type: *string

The description for the DB subnet group.

DBSubnetGroupName

Type: *string

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

DBSubnetGroupName is a required field

SubnetIds

Type: []*string

The EC2 subnet IDs for the DB subnet group.

SubnetIds is a required field

Method

GoString

func (s ModifyDBSubnetGroupInput) GoString() string

GoString returns the string representation

SetDBSubnetGroupDescription

func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *ModifyDBSubnetGroupInput

SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.

SetDBSubnetGroupName

func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupName(v string) *ModifyDBSubnetGroupInput

SetDBSubnetGroupName sets the DBSubnetGroupName field's value.

SetSubnetIds

func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []*string) *ModifyDBSubnetGroupInput

SetSubnetIds sets the SubnetIds field's value.

String

func (s ModifyDBSubnetGroupInput) String() string

String returns the string representation

Validate

func (s *ModifyDBSubnetGroupInput) Validate() error

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

On this page: