toCloudWatchEncryptionMode method
Implementation
CloudWatchEncryptionMode toCloudWatchEncryptionMode() {
switch (this) {
case 'DISABLED':
return CloudWatchEncryptionMode.disabled;
case 'SSE-KMS':
return CloudWatchEncryptionMode.sseKms;
}
throw Exception('$this is not known in enum CloudWatchEncryptionMode');
}