toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SortAssociationsBy.sourceArn:
      return 'SourceArn';
    case SortAssociationsBy.destinationArn:
      return 'DestinationArn';
    case SortAssociationsBy.sourceType:
      return 'SourceType';
    case SortAssociationsBy.destinationType:
      return 'DestinationType';
    case SortAssociationsBy.creationTime:
      return 'CreationTime';
  }
}