toValue method
Implementation
String toValue() {
switch (this) {
case ClusterState.active:
return 'ACTIVE';
case ClusterState.creating:
return 'CREATING';
case ClusterState.deleting:
return 'DELETING';
case ClusterState.failed:
return 'FAILED';
case ClusterState.healing:
return 'HEALING';
case ClusterState.maintenance:
return 'MAINTENANCE';
case ClusterState.rebootingBroker:
return 'REBOOTING_BROKER';
case ClusterState.updating:
return 'UPDATING';
}
}