toVpcLinkStatus method
Implementation
VpcLinkStatus toVpcLinkStatus() {
switch (this) {
case 'AVAILABLE':
return VpcLinkStatus.available;
case 'PENDING':
return VpcLinkStatus.pending;
case 'DELETING':
return VpcLinkStatus.deleting;
case 'FAILED':
return VpcLinkStatus.failed;
}
throw Exception('$this is not known in enum VpcLinkStatus');
}