toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EncryptionType.none:
      return 'NONE';
    case EncryptionType.kms:
      return 'KMS';
  }
}