docs: public void marshall(ESInstanceDetails eSInstanceDetails, ProtocolMarshaller protocolMarshaller) {
  
          if (eSInstanceDetails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(eSInstanceDetails.getInstanceClass(), INSTANCECLASS_BINDING);
              protocolMarshaller.marshall(eSInstanceDetails.getInstanceSize(), INSTANCESIZE_BINDING);
              protocolMarshaller.marshall(eSInstanceDetails.getRegion(), REGION_BINDING);
              protocolMarshaller.marshall(eSInstanceDetails.getCurrentGeneration(), CURRENTGENERATION_BINDING);
              protocolMarshaller.marshall(eSInstanceDetails.getSizeFlexEligible(), SIZEFLEXELIGIBLE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }