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.

DeleteCacheClusterInput

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

type DeleteCacheClusterInput struct { CacheClusterId *string `type:"string" required:"true"` FinalSnapshotIdentifier *string `type:"string"` }

Represents the input of a DeleteCacheCluster operation.

CacheClusterId

Type: *string

The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.

CacheClusterId is a required field

FinalSnapshotIdentifier

Type: *string

The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.

Method

GoString

func (s DeleteCacheClusterInput) GoString() string

GoString returns the string representation

SetCacheClusterId

func (s *DeleteCacheClusterInput) SetCacheClusterId(v string) *DeleteCacheClusterInput

SetCacheClusterId sets the CacheClusterId field's value.

SetFinalSnapshotIdentifier

func (s *DeleteCacheClusterInput) SetFinalSnapshotIdentifier(v string) *DeleteCacheClusterInput

SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value.

String

func (s DeleteCacheClusterInput) String() string

String returns the string representation

Validate

func (s *DeleteCacheClusterInput) Validate() error

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

On this page: