CopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
, SdkBuilder<ReplicationGroup.Builder,ReplicationGroup>
public static interface ReplicationGroup.Builder extends CopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
Modifier and Type | Method | Description |
---|---|---|
ReplicationGroup.Builder |
automaticFailover(String automaticFailover) |
Indicates the status of Multi-AZ for this replication group.
|
ReplicationGroup.Builder |
automaticFailover(AutomaticFailoverStatus automaticFailover) |
Indicates the status of Multi-AZ for this replication group.
|
ReplicationGroup.Builder |
cacheNodeType(String cacheNodeType) |
The name of the compute and memory capacity node type for each node in the replication group.
|
ReplicationGroup.Builder |
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).
|
ReplicationGroup.Builder |
configurationEndpoint(Endpoint configurationEndpoint) |
The configuration endpoint for this replicaiton group.
|
ReplicationGroup.Builder |
description(String description) |
The description of the replication group.
|
ReplicationGroup.Builder |
memberClusters(String... memberClusters) |
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup.Builder |
memberClusters(Collection<String> memberClusters) |
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup.Builder |
nodeGroups(Collection<NodeGroup> nodeGroups) |
A single element list with information about the nodes in the replication group.
|
ReplicationGroup.Builder |
nodeGroups(NodeGroup... nodeGroups) |
A single element list with information about the nodes in the replication group.
|
ReplicationGroup.Builder |
pendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues) |
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
ReplicationGroup.Builder |
replicationGroupId(String replicationGroupId) |
The identifier for the replication group.
|
ReplicationGroup.Builder |
snapshotRetentionLimit(Integer snapshotRetentionLimit) |
The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them.
|
ReplicationGroup.Builder |
snapshottingClusterId(String snapshottingClusterId) |
The cache cluster ID that is used as the daily snapshot source for the replication group.
|
ReplicationGroup.Builder |
snapshotWindow(String snapshotWindow) |
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group
(shard).
|
ReplicationGroup.Builder |
status(String status) |
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
copy
apply, build
ReplicationGroup.Builder replicationGroupId(String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.ReplicationGroup.Builder description(String description)
The description of the replication group.
description
- The description of the replication group.ReplicationGroup.Builder status(String status)
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
status
- The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.ReplicationGroup.Builder pendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next
maintenance window.ReplicationGroup.Builder memberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
memberClusters
- The names of all the cache clusters that are part of this replication group.ReplicationGroup.Builder memberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.
NOTE: This method appends the values to the existing list (if any). Use
#setMemberClusters(java.util.Collection)
or #withMemberClusters(java.util.Collection)
if you
want to override the existing values.
memberClusters
- The names of all the cache clusters that are part of this replication group.ReplicationGroup.Builder nodeGroups(Collection<NodeGroup> nodeGroups)
A single element list with information about the nodes in the replication group.
nodeGroups
- A single element list with information about the nodes in the replication group.ReplicationGroup.Builder nodeGroups(NodeGroup... nodeGroups)
A single element list with information about the nodes in the replication group.
NOTE: This method appends the values to the existing list (if any). Use
#setNodeGroups(java.util.Collection)
or #withNodeGroups(java.util.Collection)
if you want to
override the existing values.
nodeGroups
- A single element list with information about the nodes in the replication group.ReplicationGroup.Builder snapshottingClusterId(String snapshottingClusterId)
The cache cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cache cluster ID that is used as the daily snapshot source for the replication group.ReplicationGroup.Builder automaticFailover(String automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled):T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
automaticFailover
- Indicates the status of Multi-AZ for this replication group. ElastiCache Multi-AZ replication groups are not supported on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled):T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
AutomaticFailoverStatus
ReplicationGroup.Builder automaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ for this replication group.
ElastiCache Multi-AZ replication groups are not supported on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled):T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
automaticFailover
- Indicates the status of Multi-AZ for this replication group. ElastiCache Multi-AZ replication groups are not supported on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled):T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
AutomaticFailoverStatus
ReplicationGroup.Builder configurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replicaiton group. Use the configuration endpoint to connect to this replication group.
configurationEndpoint
- The configuration endpoint for this replicaiton group. Use the configuration endpoint to connect to
this replication group.ReplicationGroup.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cache 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.
snapshotRetentionLimit
- The number of days for which ElastiCache retains automatic cache 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.
ReplicationGroup.Builder snapshotWindow(String 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.
Note: This parameter is only valid if the Engine
parameter is redis
.
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.
Note: This parameter is only valid if the Engine
parameter is redis
.
ReplicationGroup.Builder 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).
Valid values: true
| false
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
ReplicationGroup.Builder cacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
cacheNodeType
- The name of the compute and memory capacity node type for each node in the replication group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.