public void marshall(CreateLogGroupRequest createLogGroupRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createLogGroupRequest.getLogGroupName(), LOGGROUPNAME_BINDING);
            protocolMarshaller.marshall(createLogGroupRequest.getKmsKeyId(), KMSKEYID_BINDING);
            protocolMarshaller.marshall(createLogGroupRequest.getTags(), TAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateLogGroupRequest createLogGroupRequest , ProtocolMarshaller protocolMarshaller ) { if ( createLogGroupRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createLogGroupRequest . getLogGroupName ( ) , LOGGROUPNAME_BINDING ) ; protocolMarshaller . marshall ( createLogGroupRequest . getKmsKeyId ( ) , KMSKEYID_BINDING ) ; protocolMarshaller . marshall ( createLogGroupRequest . getTags ( ) , TAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.