public void marshall(SnapshotDetails snapshotDetails, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(snapshotDetails.getSnapshotName(), SNAPSHOTNAME_BINDING);
            protocolMarshaller.marshall(snapshotDetails.getSnapshotStatus(), SNAPSHOTSTATUS_BINDING);
            protocolMarshaller.marshall(snapshotDetails.getApplicationVersionId(), APPLICATIONVERSIONID_BINDING);
            protocolMarshaller.marshall(snapshotDetails.getSnapshotCreationTimestamp(), SNAPSHOTCREATIONTIMESTAMP_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( SnapshotDetails snapshotDetails , ProtocolMarshaller protocolMarshaller ) { if ( snapshotDetails == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( snapshotDetails . getSnapshotName ( ) , SNAPSHOTNAME_BINDING ) ; protocolMarshaller . marshall ( snapshotDetails . getSnapshotStatus ( ) , SNAPSHOTSTATUS_BINDING ) ; protocolMarshaller . marshall ( snapshotDetails . getApplicationVersionId ( ) , APPLICATIONVERSIONID_BINDING ) ; protocolMarshaller . marshall ( snapshotDetails . getSnapshotCreationTimestamp ( ) , SNAPSHOTCREATIONTIMESTAMP_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.