public void marshall(DocumentDefaultVersionDescription documentDefaultVersionDescription, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(documentDefaultVersionDescription.getName(), NAME_BINDING);
            protocolMarshaller.marshall(documentDefaultVersionDescription.getDefaultVersion(), DEFAULTVERSION_BINDING);
            protocolMarshaller.marshall(documentDefaultVersionDescription.getDefaultVersionName(), DEFAULTVERSIONNAME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DocumentDefaultVersionDescription documentDefaultVersionDescription , ProtocolMarshaller protocolMarshaller ) { if ( documentDefaultVersionDescription == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( documentDefaultVersionDescription . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( documentDefaultVersionDescription . getDefaultVersion ( ) , DEFAULTVERSION_BINDING ) ; protocolMarshaller . marshall ( documentDefaultVersionDescription . getDefaultVersionName ( ) , DEFAULTVERSIONNAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.