toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3ObjectEncryptionType.sseKms:
      return 'SSE_KMS';
    case S3ObjectEncryptionType.sseS3:
      return 'SSE_S3';
    case S3ObjectEncryptionType.noEncryption:
      return 'NO_ENCRYPTION';
  }
}