toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CloudWatchEncryptionMode.disabled:
      return 'DISABLED';
    case CloudWatchEncryptionMode.sseKms:
      return 'SSE-KMS';
  }
}