ToCopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
@Generated("software.amazon.awssdk:codegen") public class ReplicationGroup extends Object implements ToCopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
Contains all of the attributes of a specific Redis replication group.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ReplicationGroup.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
automaticFailover() |
Indicates the status of Multi-AZ for this replication group.
|
static ReplicationGroup.Builder |
builder() |
|
String |
cacheNodeType() |
The name of the compute and memory capacity node type for each node in the replication group.
|
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).
|
Endpoint |
configurationEndpoint() |
The configuration endpoint for this replicaiton group.
|
String |
description() |
The description of the replication group.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
memberClusters() |
The names of all the cache clusters that are part of this replication group.
|
List<NodeGroup> |
nodeGroups() |
A single element list with information about the nodes in the replication group.
|
ReplicationGroupPendingModifiedValues |
pendingModifiedValues() |
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
String |
replicationGroupId() |
The identifier for the replication group.
|
static Class<? extends ReplicationGroup.Builder> |
serializableBuilderClass() |
|
Integer |
snapshotRetentionLimit() |
The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them.
|
String |
snapshottingClusterId() |
The cache cluster ID that is used as the daily snapshot source for the replication group.
|
String |
snapshotWindow() |
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
|
String |
status() |
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
ReplicationGroup.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String replicationGroupId()
The identifier for the replication group.
public String description()
The description of the replication group.
public String status()
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.public ReplicationGroupPendingModifiedValues pendingModifiedValues()
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
public List<String> memberClusters()
The names of all the cache clusters that are part of this replication group.
public List<NodeGroup> nodeGroups()
A single element list with information about the nodes in the replication group.
public String snapshottingClusterId()
The cache cluster ID that is used as the daily snapshot source for the replication group.
public 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.
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
public Endpoint configurationEndpoint()
The configuration endpoint for this replicaiton group. Use the configuration endpoint to connect to this replication group.
public 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
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.
public 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
.
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
.
public 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
Valid values: true
| false
public String cacheNodeType()
The name of the compute and memory capacity node type for each node in the replication group.
public ReplicationGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
public static ReplicationGroup.Builder builder()
public static Class<? extends ReplicationGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.