code: public void marshall(HierarchyStructure hierarchyStructure, ProtocolMarshaller protocolMarshaller) {
  
          if (hierarchyStructure == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(hierarchyStructure.getLevelOne(), LEVELONE_BINDING);
              protocolMarshaller.marshall(hierarchyStructure.getLevelTwo(), LEVELTWO_BINDING);
              protocolMarshaller.marshall(hierarchyStructure.getLevelThree(), LEVELTHREE_BINDING);
              protocolMarshaller.marshall(hierarchyStructure.getLevelFour(), LEVELFOUR_BINDING);
              protocolMarshaller.marshall(hierarchyStructure.getLevelFive(), LEVELFIVE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.