toValue method
Implementation
String toValue() {
switch (this) {
case SourceType.cacheCluster:
return 'cache-cluster';
case SourceType.cacheParameterGroup:
return 'cache-parameter-group';
case SourceType.cacheSecurityGroup:
return 'cache-security-group';
case SourceType.cacheSubnetGroup:
return 'cache-subnet-group';
case SourceType.replicationGroup:
return 'replication-group';
case SourceType.user:
return 'user';
case SourceType.userGroup:
return 'user-group';
}
}