toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConnectionType.internet:
      return 'INTERNET';
    case ConnectionType.vpcLink:
      return 'VPC_LINK';
  }
}