toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.cluster:
      return 'CLUSTER';
    case SourceType.parameterGroup:
      return 'PARAMETER_GROUP';
    case SourceType.subnetGroup:
      return 'SUBNET_GROUP';
  }
}