code: public void setArchiveLayout(String archiveId, ArchiveProperties properties) throws OpenTokException {
          if (StringUtils.isEmpty(archiveId) || properties == null) {
              throw new InvalidArgumentException("ArchiveId is not valid or properties are null");
          }
          this.client.setArchiveLayout(archiveId, properties);
      }
docs: Sets the layout type for a composed archive. For a description of layout types, see
  <a href="https://tokbox.com/developer/guides/archiving/layout-control.html">Customizing
  the video layout for composed archives</a>.
  
  @param archiveId {String} The archive ID.
  
  @param properties This ArchiveProperties object defining the arachive layout.