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.

ResetCacheParameterGroupInput

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

type ResetCacheParameterGroupInput struct { CacheParameterGroupName *string `type:"string" required:"true"` ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list"` ResetAllParameters *bool `type:"boolean"` }

Represents the input of a ResetCacheParameterGroup operation.

CacheParameterGroupName

Type: *string

The name of the cache parameter group to reset.

CacheParameterGroupName is a required field

ParameterNameValues

Describes a name-value pair that is used to update the value of a parameter.

ResetAllParameters

Type: *bool

If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

Valid values: true | false

Method

GoString

func (s ResetCacheParameterGroupInput) GoString() string

GoString returns the string representation

SetCacheParameterGroupName

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

SetCacheParameterGroupName sets the CacheParameterGroupName field's value.

SetParameterNameValues

func (s *ResetCacheParameterGroupInput) SetParameterNameValues(v []*ParameterNameValue) *ResetCacheParameterGroupInput

SetParameterNameValues sets the ParameterNameValues field's value.

SetResetAllParameters

func (s *ResetCacheParameterGroupInput) SetResetAllParameters(v bool) *ResetCacheParameterGroupInput

SetResetAllParameters sets the ResetAllParameters field's value.

String

func (s ResetCacheParameterGroupInput) String() string

String returns the string representation

Validate

func (s *ResetCacheParameterGroupInput) Validate() error

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

On this page: