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.

TestFailoverInput

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

type TestFailoverInput struct { NodeGroupId *string `min:"1" type:"string" required:"true"` ReplicationGroupId *string `type:"string" required:"true"` }

NodeGroupId

Type: *string

The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period.

NodeGroupId is a required field

ReplicationGroupId

Type: *string

The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.

ReplicationGroupId is a required field

Method

GoString

func (s TestFailoverInput) GoString() string

GoString returns the string representation

SetNodeGroupId

func (s *TestFailoverInput) SetNodeGroupId(v string) *TestFailoverInput

SetNodeGroupId sets the NodeGroupId field's value.

SetReplicationGroupId

func (s *TestFailoverInput) SetReplicationGroupId(v string) *TestFailoverInput

SetReplicationGroupId sets the ReplicationGroupId field's value.

String

func (s TestFailoverInput) String() string

String returns the string representation

Validate

func (s *TestFailoverInput) Validate() error

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

On this page: