toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GatewayType.virtualPrivateGateway:
      return 'virtualPrivateGateway';
    case GatewayType.transitGateway:
      return 'transitGateway';
  }
}