toValue method
Implementation
String toValue() {
switch (this) {
case EndpointStatus.creating:
return 'CREATING';
case EndpointStatus.deleting:
return 'DELETING';
case EndpointStatus.failed:
return 'FAILED';
case EndpointStatus.inService:
return 'IN_SERVICE';
case EndpointStatus.updating:
return 'UPDATING';
}
}