toDescribeEndpointsMode method

DescribeEndpointsMode toDescribeEndpointsMode()

Implementation

DescribeEndpointsMode toDescribeEndpointsMode() {
  switch (this) {
    case 'DEFAULT':
      return DescribeEndpointsMode.$default;
    case 'GET_ONLY':
      return DescribeEndpointsMode.getOnly;
  }
  throw Exception('$this is not known in enum DescribeEndpointsMode');
}