toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EncryptionOption.sseS3:
      return 'SSE_S3';
    case EncryptionOption.sseKms:
      return 'SSE_KMS';
    case EncryptionOption.cseKms:
      return 'CSE_KMS';
  }
}