toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TargetType.rdsInstance:
      return 'RDS_INSTANCE';
    case TargetType.rdsServerlessEndpoint:
      return 'RDS_SERVERLESS_ENDPOINT';
    case TargetType.trackedCluster:
      return 'TRACKED_CLUSTER';
  }
}