toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CloudWatchLogsInitialPosition.startOfFile:
      return 'start_of_file';
    case CloudWatchLogsInitialPosition.endOfFile:
      return 'end_of_file';
  }
}