toValue method
Implementation
String toValue() {
switch (this) {
case BrokerState.creationInProgress:
return 'CREATION_IN_PROGRESS';
case BrokerState.creationFailed:
return 'CREATION_FAILED';
case BrokerState.deletionInProgress:
return 'DELETION_IN_PROGRESS';
case BrokerState.running:
return 'RUNNING';
case BrokerState.rebootInProgress:
return 'REBOOT_IN_PROGRESS';
}
}