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.

CreateCacheParameterGroupInput

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

type CreateCacheParameterGroupInput struct { CacheParameterGroupFamily *string `type:"string" required:"true"` CacheParameterGroupName *string `type:"string" required:"true"` Description *string `type:"string" required:"true"` }

Represents the input of a CreateCacheParameterGroup operation.

CacheParameterGroupFamily

Type: *string

The name of the cache parameter group family that the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2 | redis4.0

CacheParameterGroupFamily is a required field

CacheParameterGroupName

Type: *string

A user-specified name for the cache parameter group.

CacheParameterGroupName is a required field

Description

Type: *string

A user-specified description for the cache parameter group.

Description is a required field

Method

GoString

func (s CreateCacheParameterGroupInput) GoString() string

GoString returns the string representation

SetCacheParameterGroupFamily

func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupFamily(v string) *CreateCacheParameterGroupInput

SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.

SetCacheParameterGroupName

func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupName(v string) *CreateCacheParameterGroupInput

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

SetDescription

func (s *CreateCacheParameterGroupInput) SetDescription(v string) *CreateCacheParameterGroupInput

SetDescription sets the Description field's value.

String

func (s CreateCacheParameterGroupInput) String() string

String returns the string representation

Validate

func (s *CreateCacheParameterGroupInput) Validate() error

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

On this page: