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.

CacheSubnetGroup

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

type CacheSubnetGroup struct { CacheSubnetGroupDescription *string `type:"string"` CacheSubnetGroupName *string `type:"string"` Subnets []*Subnet `locationNameList:"Subnet" type:"list"` VpcId *string `type:"string"` }

Represents the output of one of the following operations:

  • CreateCacheSubnetGroup

  • ModifyCacheSubnetGroup

CacheSubnetGroupDescription

Type: *string

The description of the cache subnet group.

CacheSubnetGroupName

Type: *string

The name of the cache subnet group.

Subnets

Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with ElastiCache.

VpcId

Type: *string

The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.

Method

GoString

func (s CacheSubnetGroup) GoString() string

GoString returns the string representation

SetCacheSubnetGroupDescription

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

SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.

SetCacheSubnetGroupName

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

SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.

SetSubnets

func (s *CacheSubnetGroup) SetSubnets(v []*Subnet) *CacheSubnetGroup

SetSubnets sets the Subnets field's value.

SetVpcId

func (s *CacheSubnetGroup) SetVpcId(v string) *CacheSubnetGroup

SetVpcId sets the VpcId field's value.

String

func (s CacheSubnetGroup) String() string

String returns the string representation

On this page: