code: public void marshall(HlsEncryptionSettings hlsEncryptionSettings, ProtocolMarshaller protocolMarshaller) {
  
          if (hlsEncryptionSettings == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(hlsEncryptionSettings.getConstantInitializationVector(), CONSTANTINITIALIZATIONVECTOR_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getEncryptionMethod(), ENCRYPTIONMETHOD_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getInitializationVectorInManifest(), INITIALIZATIONVECTORINMANIFEST_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getOfflineEncrypted(), OFFLINEENCRYPTED_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getSpekeKeyProvider(), SPEKEKEYPROVIDER_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getStaticKeyProvider(), STATICKEYPROVIDER_BINDING);
              protocolMarshaller.marshall(hlsEncryptionSettings.getType(), TYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.