toSortAssociationsBy method
Implementation
SortAssociationsBy toSortAssociationsBy() {
switch (this) {
case 'SourceArn':
return SortAssociationsBy.sourceArn;
case 'DestinationArn':
return SortAssociationsBy.destinationArn;
case 'SourceType':
return SortAssociationsBy.sourceType;
case 'DestinationType':
return SortAssociationsBy.destinationType;
case 'CreationTime':
return SortAssociationsBy.creationTime;
}
throw Exception('$this is not known in enum SortAssociationsBy');
}