toEndpointType method
Implementation
EndpointType toEndpointType() {
switch (this) {
case 'PUBLIC':
return EndpointType.public;
case 'PRIVATE_LINK':
return EndpointType.privateLink;
case 'FIPS':
return EndpointType.fips;
}
throw Exception('$this is not known in enum EndpointType');
}