code: public void marshall(UpdateFolderRequest updateFolderRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateFolderRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateFolderRequest.getAuthenticationToken(), AUTHENTICATIONTOKEN_BINDING);
              protocolMarshaller.marshall(updateFolderRequest.getFolderId(), FOLDERID_BINDING);
              protocolMarshaller.marshall(updateFolderRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(updateFolderRequest.getParentFolderId(), PARENTFOLDERID_BINDING);
              protocolMarshaller.marshall(updateFolderRequest.getResourceState(), RESOURCESTATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.