code: public void marshall(Instance instance, ProtocolMarshaller protocolMarshaller) {
  
          if (instance == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(instance.getName(), NAME_BINDING);
              protocolMarshaller.marshall(instance.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(instance.getSupportCode(), SUPPORTCODE_BINDING);
              protocolMarshaller.marshall(instance.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(instance.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(instance.getResourceType(), RESOURCETYPE_BINDING);
              protocolMarshaller.marshall(instance.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(instance.getBlueprintId(), BLUEPRINTID_BINDING);
              protocolMarshaller.marshall(instance.getBlueprintName(), BLUEPRINTNAME_BINDING);
              protocolMarshaller.marshall(instance.getBundleId(), BUNDLEID_BINDING);
              protocolMarshaller.marshall(instance.getIsStaticIp(), ISSTATICIP_BINDING);
              protocolMarshaller.marshall(instance.getPrivateIpAddress(), PRIVATEIPADDRESS_BINDING);
              protocolMarshaller.marshall(instance.getPublicIpAddress(), PUBLICIPADDRESS_BINDING);
              protocolMarshaller.marshall(instance.getIpv6Address(), IPV6ADDRESS_BINDING);
              protocolMarshaller.marshall(instance.getHardware(), HARDWARE_BINDING);
              protocolMarshaller.marshall(instance.getNetworking(), NETWORKING_BINDING);
              protocolMarshaller.marshall(instance.getState(), STATE_BINDING);
              protocolMarshaller.marshall(instance.getUsername(), USERNAME_BINDING);
              protocolMarshaller.marshall(instance.getSshKeyName(), SSHKEYNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.