toValue method
Implementation
String toValue() {
switch (this) {
case AliasLifecycle.available:
return 'AVAILABLE';
case AliasLifecycle.creating:
return 'CREATING';
case AliasLifecycle.deleting:
return 'DELETING';
case AliasLifecycle.createFailed:
return 'CREATE_FAILED';
case AliasLifecycle.deleteFailed:
return 'DELETE_FAILED';
}
}