toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DescribeEndpointsMode.$default:
      return 'DEFAULT';
    case DescribeEndpointsMode.getOnly:
      return 'GET_ONLY';
  }
}