public void marshall(InstanceHealthSummary instanceHealthSummary, ProtocolMarshaller protocolMarshaller) {

        if (instanceHealthSummary == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(instanceHealthSummary.getInstanceName(), INSTANCENAME_BINDING);
            protocolMarshaller.marshall(instanceHealthSummary.getInstanceHealth(), INSTANCEHEALTH_BINDING);
            protocolMarshaller.marshall(instanceHealthSummary.getInstanceHealthReason(), INSTANCEHEALTHREASON_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( InstanceHealthSummary instanceHealthSummary , ProtocolMarshaller protocolMarshaller ) { if ( instanceHealthSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( instanceHealthSummary . getInstanceName ( ) , INSTANCENAME_BINDING ) ; protocolMarshaller . marshall ( instanceHealthSummary . getInstanceHealth ( ) , INSTANCEHEALTH_BINDING ) ; protocolMarshaller . marshall ( instanceHealthSummary . getInstanceHealthReason ( ) , INSTANCEHEALTHREASON_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.