public void marshall(RestoreSummary restoreSummary, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(restoreSummary.getSourceBackupArn(), SOURCEBACKUPARN_BINDING);
            protocolMarshaller.marshall(restoreSummary.getSourceTableArn(), SOURCETABLEARN_BINDING);
            protocolMarshaller.marshall(restoreSummary.getRestoreDateTime(), RESTOREDATETIME_BINDING);
            protocolMarshaller.marshall(restoreSummary.getRestoreInProgress(), RESTOREINPROGRESS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( RestoreSummary restoreSummary , ProtocolMarshaller protocolMarshaller ) { if ( restoreSummary == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( restoreSummary . getSourceBackupArn ( ) , SOURCEBACKUPARN_BINDING ) ; protocolMarshaller . marshall ( restoreSummary . getSourceTableArn ( ) , SOURCETABLEARN_BINDING ) ; protocolMarshaller . marshall ( restoreSummary . getRestoreDateTime ( ) , RESTOREDATETIME_BINDING ) ; protocolMarshaller . marshall ( restoreSummary . getRestoreInProgress ( ) , RESTOREINPROGRESS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.