toValue method
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';
case SourceType.dbCluster:
return 'db-cluster';
case SourceType.dbClusterSnapshot:
return 'db-cluster-snapshot';
}
}