public void marshall(LabelParameterVersionRequest labelParameterVersionRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(labelParameterVersionRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(labelParameterVersionRequest.getParameterVersion(), PARAMETERVERSION_BINDING);
            protocolMarshaller.marshall(labelParameterVersionRequest.getLabels(), LABELS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( LabelParameterVersionRequest labelParameterVersionRequest , ProtocolMarshaller protocolMarshaller ) { if ( labelParameterVersionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( labelParameterVersionRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( labelParameterVersionRequest . getParameterVersion ( ) , PARAMETERVERSION_BINDING ) ; protocolMarshaller . marshall ( labelParameterVersionRequest . getLabels ( ) , LABELS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.