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.

CreateCacheSubnetGroupInput

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

type CreateCacheSubnetGroupInput struct { CacheSubnetGroupDescription *string `type:"string" required:"true"` CacheSubnetGroupName *string `type:"string" required:"true"` SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` }

Represents the input of a CreateCacheSubnetGroup operation.

CacheSubnetGroupDescription

Type: *string

A description for the cache subnet group.

CacheSubnetGroupDescription is a required field

CacheSubnetGroupName

Type: *string

A name for the cache subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

CacheSubnetGroupName is a required field

SubnetIds

Type: []*string

A list of VPC subnet IDs for the cache subnet group.

SubnetIds is a required field

Method

GoString

func (s CreateCacheSubnetGroupInput) GoString() string

GoString returns the string representation

SetCacheSubnetGroupDescription

func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *CreateCacheSubnetGroupInput

SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.

SetCacheSubnetGroupName

func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *CreateCacheSubnetGroupInput

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

SetSubnetIds

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

SetSubnetIds sets the SubnetIds field's value.

String

func (s CreateCacheSubnetGroupInput) String() string

String returns the string representation

Validate

func (s *CreateCacheSubnetGroupInput) Validate() error

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

On this page: