toValue method

String toValue()

Implementation

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