toValue method
Implementation
String toValue() {
switch (this) {
case EndpointType.regional:
return 'REGIONAL';
case EndpointType.edge:
return 'EDGE';
case EndpointType.private:
return 'PRIVATE';
}
}
String toValue() {
switch (this) {
case EndpointType.regional:
return 'REGIONAL';
case EndpointType.edge:
return 'EDGE';
case EndpointType.private:
return 'PRIVATE';
}
}