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.