@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
Contains all of the attributes of a specific Redis replication group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN (Amazon Resource Name) of the replication group.
|
Boolean |
atRestEncryptionEnabled()
A flag that enables encryption at-rest when set to
true. |
Boolean |
authTokenEnabled()
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
Instant |
authTokenLastModifiedDate()
The date the auth token was last modified
|
AutomaticFailoverStatus |
automaticFailover()
Indicates the status of automatic failover for this Redis replication group.
|
String |
automaticFailoverAsString()
Indicates the status of automatic failover for this Redis 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 replication group.
|
String |
description()
The user supplied description of the replication group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GlobalReplicationGroupInfo |
globalReplicationGroupInfo()
The name of the Global datastore and role of this replication group in the Global datastore.
|
int |
hashCode() |
boolean |
hasLogDeliveryConfigurations()
Returns true if the LogDeliveryConfigurations property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasMemberClusters()
Returns true if the MemberClusters property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasMemberClustersOutpostArns()
Returns true if the MemberClustersOutpostArns property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasNodeGroups()
Returns true if the NodeGroups property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasUserGroupIds()
Returns true if the UserGroupIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
kmsKeyId()
The ID of the KMS key used to encrypt the disk in the cluster.
|
List<LogDeliveryConfiguration> |
logDeliveryConfigurations()
Returns the destination, format and type of the logs.
|
List<String> |
memberClusters()
The names of all the cache clusters that are part of this replication group.
|
List<String> |
memberClustersOutpostArns()
The outpost ARNs of the replication group's member clusters.
|
MultiAZStatus |
multiAZ()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
String |
multiAZAsString()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
List<NodeGroup> |
nodeGroups()
A list of node groups in this 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationGroup.Builder> |
serializableBuilderClass() |
Integer |
snapshotRetentionLimit()
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.
|
String |
snapshottingClusterId()
The 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() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
transitEncryptionEnabled()
A flag that enables in-transit encryption when set to
true. |
List<String> |
userGroupIds()
The list of user group IDs that have access to the replication group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationGroupId()
The identifier for the replication group.
public final String description()
The user supplied description of the replication group.
public final GlobalReplicationGroupInfo globalReplicationGroupInfo()
The name of the Global datastore and role of this replication group in the Global datastore.
public final String status()
The current state of this replication group - creating, available,
modifying, deleting, create-failed, snapshotting.
creating, available,
modifying, deleting, create-failed, snapshotting.public final ReplicationGroupPendingModifiedValues pendingModifiedValues()
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
public final boolean hasMemberClusters()
public final List<String> memberClusters()
The names of all the cache clusters that are part of this replication group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMemberClusters() to see if a value was sent in this field.
public final boolean hasNodeGroups()
public final List<NodeGroup> 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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNodeGroups() to see if a value was sent in this field.
public final String snapshottingClusterId()
The cluster ID that is used as the daily snapshot source for the replication group.
public final AutomaticFailoverStatus automaticFailover()
Indicates the status of automatic failover for this Redis replication group.
If the service returns an enum value that is not available in the current SDK version, automaticFailover
will return AutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from automaticFailoverAsString().
AutomaticFailoverStatuspublic final String automaticFailoverAsString()
Indicates the status of automatic failover for this Redis replication group.
If the service returns an enum value that is not available in the current SDK version, automaticFailover
will return AutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from automaticFailoverAsString().
AutomaticFailoverStatuspublic final MultiAZStatus multiAZ()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
If the service returns an enum value that is not available in the current SDK version, multiAZ will
return MultiAZStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
multiAZAsString().
MultiAZStatuspublic final String multiAZAsString()
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
If the service returns an enum value that is not available in the current SDK version, multiAZ will
return MultiAZStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
multiAZAsString().
MultiAZStatuspublic final Endpoint configurationEndpoint()
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
public final Integer 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.
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 final 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.
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.
This parameter is only valid if the Engine parameter is redis.
public final 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 final String cacheNodeType()
The name of the compute and memory capacity node type for each node in the replication group.
public final Boolean authTokenEnabled()
A flag that enables using an AuthToken (password) when issuing Redis commands.
Default: false
AuthToken (password) when issuing Redis commands.
Default: false
public final Instant authTokenLastModifiedDate()
The date the auth token was last modified
public final Boolean transitEncryptionEnabled()
A flag that enables in-transit encryption when set to true.
You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled to true 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
true.
You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to
true 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
public final Boolean 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 set AtRestEncryptionEnabled to true 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
true.
You cannot modify the value of AtRestEncryptionEnabled after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled to
true 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
public final boolean hasMemberClustersOutpostArns()
public final List<String> memberClustersOutpostArns()
The outpost ARNs of the replication group's member clusters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMemberClustersOutpostArns() to see if a value was sent in this field.
public final String kmsKeyId()
The ID of the KMS key used to encrypt the disk in the cluster.
public final String arn()
The ARN (Amazon Resource Name) of the replication group.
public final boolean hasUserGroupIds()
public final List<String> userGroupIds()
The list of user group IDs that have access to the replication group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserGroupIds() to see if a value was sent in this field.
public final boolean hasLogDeliveryConfigurations()
public final List<LogDeliveryConfiguration> logDeliveryConfigurations()
Returns the destination, format and type of the logs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLogDeliveryConfigurations() to see if a value was sent in this field.
public ReplicationGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>public static ReplicationGroup.Builder builder()
public static Class<? extends ReplicationGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.