toValue method
Implementation
String toValue() {
switch (this) {
case InstanceAction.terminate:
return 'TERMINATE';
case InstanceAction.keepAlive:
return 'KEEP_ALIVE';
}
}
String toValue() {
switch (this) {
case InstanceAction.terminate:
return 'TERMINATE';
case InstanceAction.keepAlive:
return 'KEEP_ALIVE';
}
}