Interface ReplicationGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationGroup.Builder,
,ReplicationGroup> SdkBuilder<ReplicationGroup.Builder,
,ReplicationGroup> SdkPojo
- Enclosing class:
ReplicationGroup
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN (Amazon Resource Name) of the replication group.atRestEncryptionEnabled
(Boolean atRestEncryptionEnabled) A flag that enables encryption at-rest when set totrue
.authTokenEnabled
(Boolean authTokenEnabled) A flag that enables using anAuthToken
(password) when issuing Redis commands.authTokenLastModifiedDate
(Instant authTokenLastModifiedDate) The date the auth token was last modifiedautomaticFailover
(String automaticFailover) Indicates the status of automatic failover for this Redis replication group.automaticFailover
(AutomaticFailoverStatus automaticFailover) Indicates the status of automatic failover for this Redis replication group.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign.cacheNodeType
(String cacheNodeType) The name of the compute and memory capacity node type for each node in the replication group.clusterEnabled
(Boolean clusterEnabled) A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).clusterMode
(String clusterMode) Enabled or Disabled.clusterMode
(ClusterMode clusterMode) Enabled or Disabled.default ReplicationGroup.Builder
configurationEndpoint
(Consumer<Endpoint.Builder> configurationEndpoint) The configuration endpoint for this replication group.configurationEndpoint
(Endpoint configurationEndpoint) The configuration endpoint for this replication group.dataTiering
(String dataTiering) Enables data tiering.dataTiering
(DataTieringStatus dataTiering) Enables data tiering.description
(String description) The user supplied description of the replication group.default ReplicationGroup.Builder
globalReplicationGroupInfo
(Consumer<GlobalReplicationGroupInfo.Builder> globalReplicationGroupInfo) The name of the Global datastore and role of this replication group in the Global datastore.globalReplicationGroupInfo
(GlobalReplicationGroupInfo globalReplicationGroupInfo) The name of the Global datastore and role of this replication group in the Global datastore.ipDiscovery
(String ipDiscovery) The network type you choose when modifying a cluster, eitheripv4
|ipv6
.ipDiscovery
(IpDiscovery ipDiscovery) The network type you choose when modifying a cluster, eitheripv4
|ipv6
.The ID of the KMS key used to encrypt the disk in the cluster.logDeliveryConfigurations
(Collection<LogDeliveryConfiguration> logDeliveryConfigurations) Returns the destination, format and type of the logs.logDeliveryConfigurations
(Consumer<LogDeliveryConfiguration.Builder>... logDeliveryConfigurations) Returns the destination, format and type of the logs.logDeliveryConfigurations
(LogDeliveryConfiguration... logDeliveryConfigurations) Returns the destination, format and type of the logs.memberClusters
(String... memberClusters) The names of all the cache clusters that are part of this replication group.memberClusters
(Collection<String> memberClusters) The names of all the cache clusters that are part of this replication group.memberClustersOutpostArns
(String... memberClustersOutpostArns) The outpost ARNs of the replication group's member clusters.memberClustersOutpostArns
(Collection<String> memberClustersOutpostArns) The outpost ARNs of the replication group's member clusters.A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.multiAZ
(MultiAZStatus multiAZ) A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.networkType
(String networkType) Must be eitheripv4
|ipv6
|dual_stack
.networkType
(NetworkType networkType) Must be eitheripv4
|ipv6
|dual_stack
.nodeGroups
(Collection<NodeGroup> nodeGroups) A list of node groups in this replication group.nodeGroups
(Consumer<NodeGroup.Builder>... nodeGroups) A list of node groups in this replication group.nodeGroups
(NodeGroup... nodeGroups) A list of node groups in this replication group.default ReplicationGroup.Builder
pendingModifiedValues
(Consumer<ReplicationGroupPendingModifiedValues.Builder> pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.pendingModifiedValues
(ReplicationGroupPendingModifiedValues pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.replicationGroupCreateTime
(Instant replicationGroupCreateTime) The date and time when the cluster was created.replicationGroupId
(String replicationGroupId) The identifier for the replication group.snapshotRetentionLimit
(Integer snapshotRetentionLimit) The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.snapshottingClusterId
(String snapshottingClusterId) The cluster ID that is used as the daily snapshot source for the replication group.snapshotWindow
(String snapshotWindow) The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).The current state of this replication group -creating
,available
,modifying
,deleting
,create-failed
,snapshotting
.transitEncryptionEnabled
(Boolean transitEncryptionEnabled) A flag that enables in-transit encryption when set totrue
.transitEncryptionMode
(String transitEncryptionMode) A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.transitEncryptionMode
(TransitEncryptionMode transitEncryptionMode) A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.userGroupIds
(String... userGroupIds) The ID of the user group associated to the replication group.userGroupIds
(Collection<String> userGroupIds) The ID of the user group associated to the replication group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replicationGroupId
The identifier for the replication group.
- Parameters:
replicationGroupId
- The identifier for the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The user supplied description of the replication group.
- Parameters:
description
- The user supplied description of the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroupInfo
ReplicationGroup.Builder globalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo) The name of the Global datastore and role of this replication group in the Global datastore.
- Parameters:
globalReplicationGroupInfo
- The name of the Global datastore and role of this replication group in the Global datastore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroupInfo
default ReplicationGroup.Builder globalReplicationGroupInfo(Consumer<GlobalReplicationGroupInfo.Builder> globalReplicationGroupInfo) The name of the Global datastore and role of this replication group in the Global datastore.
This is a convenience method that creates an instance of theGlobalReplicationGroupInfo.Builder
avoiding the need to create one manually viaGlobalReplicationGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalReplicationGroupInfo(GlobalReplicationGroupInfo)
.- Parameters:
globalReplicationGroupInfo
- a consumer that will call methods onGlobalReplicationGroupInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of this replication group -
creating
,available
,modifying
,deleting
,create-failed
,snapshotting
.- Parameters:
status
- The current state of this replication group -creating
,available
,modifying
,deleting
,create-failed
,snapshotting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
ReplicationGroup.Builder pendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
- Parameters:
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
default ReplicationGroup.Builder pendingModifiedValues(Consumer<ReplicationGroupPendingModifiedValues.Builder> pendingModifiedValues) A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
This is a convenience method that creates an instance of theReplicationGroupPendingModifiedValues.Builder
avoiding the need to create one manually viaReplicationGroupPendingModifiedValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingModifiedValues(ReplicationGroupPendingModifiedValues)
.- Parameters:
pendingModifiedValues
- a consumer that will call methods onReplicationGroupPendingModifiedValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberClusters
The names of all the cache clusters that are part of this replication group.
- Parameters:
memberClusters
- The names of all the cache clusters that are part of this replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberClusters
The names of all the cache clusters that are part of this replication group.
- Parameters:
memberClusters
- The names of all the cache clusters that are part of this replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroups
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
- Parameters:
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroups
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
- Parameters:
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroups
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
This is a convenience method that creates an instance of theNodeGroup.Builder
avoiding the need to create one manually viaNodeGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeGroups(List<NodeGroup>)
.- Parameters:
nodeGroups
- a consumer that will call methods onNodeGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshottingClusterId
The cluster ID that is used as the daily snapshot source for the replication group.
- Parameters:
snapshottingClusterId
- The cluster ID that is used as the daily snapshot source for the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFailover
Indicates the status of automatic failover for this Redis replication group.
- Parameters:
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automaticFailover
Indicates the status of automatic failover for this Redis replication group.
- Parameters:
automaticFailover
- Indicates the status of automatic failover for this Redis replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiAZ
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
- Parameters:
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiAZ
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
- Parameters:
multiAZ
- A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationEndpoint
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
- Parameters:
configurationEndpoint
- The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationEndpoint
default ReplicationGroup.Builder configurationEndpoint(Consumer<Endpoint.Builder> configurationEndpoint) The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationEndpoint(Endpoint)
.- Parameters:
configurationEndpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshotRetentionLimit
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For example, if you set
SnapshotRetentionLimit
to 5, a snapshot that was taken today is retained for 5 days before being deleted.If the value of
SnapshotRetentionLimit
is set to zero (0), backups are turned off.- Parameters:
snapshotRetentionLimit
- The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For example, if you setSnapshotRetentionLimit
to 5, a snapshot that was taken today is retained for 5 days before being deleted.If the value of
SnapshotRetentionLimit
is set to zero (0), backups are turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotWindow
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example:
05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the
Engine
parameter isredis
.- Parameters:
snapshotWindow
- The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).Example:
05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the
Engine
parameter isredis
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterEnabled
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values:
true
|false
- Parameters:
clusterEnabled
- A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).Valid values:
true
|false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeType
The name of the compute and memory capacity node type for each node in the replication group.
- Parameters:
cacheNodeType
- The name of the compute and memory capacity node type for each node in the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authTokenEnabled
A flag that enables using an
AuthToken
(password) when issuing Redis commands.Default:
false
- Parameters:
authTokenEnabled
- A flag that enables using anAuthToken
(password) when issuing Redis commands.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authTokenLastModifiedDate
The date the auth token was last modified
- Parameters:
authTokenLastModifiedDate
- The date the auth token was last modified- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitEncryptionEnabled
A flag that enables in-transit encryption when set to
true
.Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
,4.x
or later.Default:
false
- Parameters:
transitEncryptionEnabled
- A flag that enables in-transit encryption when set totrue
.Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
,4.x
or later.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atRestEncryptionEnabled
A flag that enables encryption at-rest when set to
true
.You cannot modify the value of
AtRestEncryptionEnabled
after the cluster is created. To enable encryption at-rest on a cluster you must setAtRestEncryptionEnabled
totrue
when you create a cluster.Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
,4.x
or later.Default:
false
- Parameters:
atRestEncryptionEnabled
- A flag that enables encryption at-rest when set totrue
.You cannot modify the value of
AtRestEncryptionEnabled
after the cluster is created. To enable encryption at-rest on a cluster you must setAtRestEncryptionEnabled
totrue
when you create a cluster.Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
,4.x
or later.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberClustersOutpostArns
The outpost ARNs of the replication group's member clusters.
- Parameters:
memberClustersOutpostArns
- The outpost ARNs of the replication group's member clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberClustersOutpostArns
The outpost ARNs of the replication group's member clusters.
- Parameters:
memberClustersOutpostArns
- The outpost ARNs of the replication group's member clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The ID of the KMS key used to encrypt the disk in the cluster.
- Parameters:
kmsKeyId
- The ID of the KMS key used to encrypt the disk in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN (Amazon Resource Name) of the replication group.
- Parameters:
arn
- The ARN (Amazon Resource Name) of the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupIds
The ID of the user group associated to the replication group.
- Parameters:
userGroupIds
- The ID of the user group associated to the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupIds
The ID of the user group associated to the replication group.
- Parameters:
userGroupIds
- The ID of the user group associated to the replication group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfigurations
ReplicationGroup.Builder logDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations) Returns the destination, format and type of the logs.
- Parameters:
logDeliveryConfigurations
- Returns the destination, format and type of the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfigurations
ReplicationGroup.Builder logDeliveryConfigurations(LogDeliveryConfiguration... logDeliveryConfigurations) Returns the destination, format and type of the logs.
- Parameters:
logDeliveryConfigurations
- Returns the destination, format and type of the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfigurations
ReplicationGroup.Builder logDeliveryConfigurations(Consumer<LogDeliveryConfiguration.Builder>... logDeliveryConfigurations) Returns the destination, format and type of the logs.
This is a convenience method that creates an instance of theLogDeliveryConfiguration.Builder
avoiding the need to create one manually viaLogDeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologDeliveryConfigurations(List<LogDeliveryConfiguration>)
.- Parameters:
logDeliveryConfigurations
- a consumer that will call methods onLogDeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationGroupCreateTime
The date and time when the cluster was created.
- Parameters:
replicationGroupCreateTime
- The date and time when the cluster was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataTiering
Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.
- Parameters:
dataTiering
- Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataTiering
Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.
- Parameters:
dataTiering
- Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoMinorVersionUpgrade
If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.
- Parameters:
autoMinorVersionUpgrade
- If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkType
Must be either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
networkType
- Must be eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkType
Must be either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
networkType
- Must be eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipDiscovery
The network type you choose when modifying a cluster, either
ipv4
|ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
ipDiscovery
- The network type you choose when modifying a cluster, eitheripv4
|ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipDiscovery
The network type you choose when modifying a cluster, either
ipv4
|ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Parameters:
ipDiscovery
- The network type you choose when modifying a cluster, eitheripv4
|ipv6
. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transitEncryptionMode
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
- Parameters:
transitEncryptionMode
- A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transitEncryptionMode
A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
- Parameters:
transitEncryptionMode
- A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterMode
Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
- Parameters:
clusterMode
- Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterMode
Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.
- Parameters:
clusterMode
- Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-