code: public void marshall(InstanceInformation instanceInformation, ProtocolMarshaller protocolMarshaller) {
  
          if (instanceInformation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(instanceInformation.getInstanceId(), INSTANCEID_BINDING);
              protocolMarshaller.marshall(instanceInformation.getPingStatus(), PINGSTATUS_BINDING);
              protocolMarshaller.marshall(instanceInformation.getLastPingDateTime(), LASTPINGDATETIME_BINDING);
              protocolMarshaller.marshall(instanceInformation.getAgentVersion(), AGENTVERSION_BINDING);
              protocolMarshaller.marshall(instanceInformation.getIsLatestVersion(), ISLATESTVERSION_BINDING);
              protocolMarshaller.marshall(instanceInformation.getPlatformType(), PLATFORMTYPE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getPlatformName(), PLATFORMNAME_BINDING);
              protocolMarshaller.marshall(instanceInformation.getPlatformVersion(), PLATFORMVERSION_BINDING);
              protocolMarshaller.marshall(instanceInformation.getActivationId(), ACTIVATIONID_BINDING);
              protocolMarshaller.marshall(instanceInformation.getIamRole(), IAMROLE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getRegistrationDate(), REGISTRATIONDATE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getResourceType(), RESOURCETYPE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getName(), NAME_BINDING);
              protocolMarshaller.marshall(instanceInformation.getIPAddress(), IPADDRESS_BINDING);
              protocolMarshaller.marshall(instanceInformation.getComputerName(), COMPUTERNAME_BINDING);
              protocolMarshaller.marshall(instanceInformation.getAssociationStatus(), ASSOCIATIONSTATUS_BINDING);
              protocolMarshaller.marshall(instanceInformation.getLastAssociationExecutionDate(), LASTASSOCIATIONEXECUTIONDATE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getLastSuccessfulAssociationExecutionDate(), LASTSUCCESSFULASSOCIATIONEXECUTIONDATE_BINDING);
              protocolMarshaller.marshall(instanceInformation.getAssociationOverview(), ASSOCIATIONOVERVIEW_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.