toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.dbInstance:
      return 'db-instance';
    case SourceType.dbParameterGroup:
      return 'db-parameter-group';
    case SourceType.dbSecurityGroup:
      return 'db-security-group';
    case SourceType.dbSnapshot:
      return 'db-snapshot';
  }
}