docs: public void marshall(Hsm hsm, ProtocolMarshaller protocolMarshaller) {
  
          if (hsm == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(hsm.getAvailabilityZone(), AVAILABILITYZONE_BINDING);
              protocolMarshaller.marshall(hsm.getClusterId(), CLUSTERID_BINDING);
              protocolMarshaller.marshall(hsm.getSubnetId(), SUBNETID_BINDING);
              protocolMarshaller.marshall(hsm.getEniId(), ENIID_BINDING);
              protocolMarshaller.marshall(hsm.getEniIp(), ENIIP_BINDING);
              protocolMarshaller.marshall(hsm.getHsmId(), HSMID_BINDING);
              protocolMarshaller.marshall(hsm.getState(), STATE_BINDING);
              protocolMarshaller.marshall(hsm.getStateMessage(), STATEMESSAGE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }