docs: public void marshall(InstancePortInfo instancePortInfo, ProtocolMarshaller protocolMarshaller) {
  
          if (instancePortInfo == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(instancePortInfo.getFromPort(), FROMPORT_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getToPort(), TOPORT_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getProtocol(), PROTOCOL_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getAccessFrom(), ACCESSFROM_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getAccessType(), ACCESSTYPE_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getCommonName(), COMMONNAME_BINDING);
              protocolMarshaller.marshall(instancePortInfo.getAccessDirection(), ACCESSDIRECTION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }