toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.applicationLoadBalancer:
      return 'APPLICATION_LOAD_BALANCER';
    case ResourceType.apiGateway:
      return 'API_GATEWAY';
    case ResourceType.appsync:
      return 'APPSYNC';
  }
}