toValue method
Implementation
String toValue() {
  switch (this) {
    case ElasticsearchS3BackupMode.failedDocumentsOnly:
      return 'FailedDocumentsOnly';
    case ElasticsearchS3BackupMode.allDocuments:
      return 'AllDocuments';
  }
}String toValue() {
  switch (this) {
    case ElasticsearchS3BackupMode.failedDocumentsOnly:
      return 'FailedDocumentsOnly';
    case ElasticsearchS3BackupMode.allDocuments:
      return 'AllDocuments';
  }
}