toValue method
Implementation
String toValue() {
switch (this) {
case TargetTypeEnum.instance:
return 'instance';
case TargetTypeEnum.ip:
return 'ip';
case TargetTypeEnum.lambda:
return 'lambda';
}
}
String toValue() {
switch (this) {
case TargetTypeEnum.instance:
return 'instance';
case TargetTypeEnum.ip:
return 'ip';
case TargetTypeEnum.lambda:
return 'lambda';
}
}