currentRole property

String? currentRole
final

The role that is currently assigned to the node - primary or replica. This member is only applicable for Redis (cluster mode disabled) replication groups.

Implementation

final String? currentRole;