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.

IncreaseReplicaCountInput

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

type IncreaseReplicaCountInput struct { ApplyImmediately *bool `type:"boolean" required:"true"` NewReplicaCount *int64 `type:"integer"` ReplicaConfiguration []*ConfigureShard `locationNameList:"ConfigureShard" type:"list"` ReplicationGroupId *string `type:"string" required:"true"` }

ApplyImmediately

Type: *bool

If True, the number of replica nodes is increased immediately. If False, the number of replica nodes is increased during the next maintenance window.

ApplyImmediately is a required field

NewReplicaCount

Type: *int64

The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.

ReplicaConfiguration

Node group (shard) configuration options when adding or removing replicas. Each node group (shard) configuration has the following members: NodeGroupId, NewReplicaCount, and PreferredAvailabilityZones.

ReplicationGroupId

Type: *string

The id of the replication group to which you want to add replica nodes.

ReplicationGroupId is a required field

Method

GoString

func (s IncreaseReplicaCountInput) GoString() string

GoString returns the string representation

SetApplyImmediately

func (s *IncreaseReplicaCountInput) SetApplyImmediately(v bool) *IncreaseReplicaCountInput

SetApplyImmediately sets the ApplyImmediately field's value.

SetNewReplicaCount

func (s *IncreaseReplicaCountInput) SetNewReplicaCount(v int64) *IncreaseReplicaCountInput

SetNewReplicaCount sets the NewReplicaCount field's value.

SetReplicaConfiguration

func (s *IncreaseReplicaCountInput) SetReplicaConfiguration(v []*ConfigureShard) *IncreaseReplicaCountInput

SetReplicaConfiguration sets the ReplicaConfiguration field's value.

SetReplicationGroupId

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

SetReplicationGroupId sets the ReplicationGroupId field's value.

String

func (s IncreaseReplicaCountInput) String() string

String returns the string representation

Validate

func (s *IncreaseReplicaCountInput) Validate() error

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

On this page: