public void marshall(InstanceSummary instanceSummary, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(instanceSummary.getDeploymentId(), DEPLOYMENTID_BINDING);
            protocolMarshaller.marshall(instanceSummary.getInstanceId(), INSTANCEID_BINDING);
            protocolMarshaller.marshall(instanceSummary.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(instanceSummary.getLastUpdatedAt(), LASTUPDATEDAT_BINDING);
            protocolMarshaller.marshall(instanceSummary.getLifecycleEvents(), LIFECYCLEEVENTS_BINDING);
            protocolMarshaller.marshall(instanceSummary.getInstanceType(), INSTANCETYPE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( InstanceSummary instanceSummary , ProtocolMarshaller protocolMarshaller ) { if ( instanceSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( instanceSummary . getDeploymentId ( ) , DEPLOYMENTID_BINDING ) ; protocolMarshaller . marshall ( instanceSummary . getInstanceId ( ) , INSTANCEID_BINDING ) ; protocolMarshaller . marshall ( instanceSummary . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( instanceSummary . getLastUpdatedAt ( ) , LASTUPDATEDAT_BINDING ) ; protocolMarshaller . marshall ( instanceSummary . getLifecycleEvents ( ) , LIFECYCLEEVENTS_BINDING ) ; protocolMarshaller . marshall ( instanceSummary . getInstanceType ( ) , INSTANCETYPE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.