toValue method
Implementation
String toValue() {
switch (this) {
case ClusterState.starting:
return 'STARTING';
case ClusterState.bootstrapping:
return 'BOOTSTRAPPING';
case ClusterState.running:
return 'RUNNING';
case ClusterState.waiting:
return 'WAITING';
case ClusterState.terminating:
return 'TERMINATING';
case ClusterState.terminated:
return 'TERMINATED';
case ClusterState.terminatedWithErrors:
return 'TERMINATED_WITH_ERRORS';
}
}