public Request<CreateGeoMatchSetRequest> marshall(CreateGeoMatchSetRequest createGeoMatchSetRequest) { if (createGeoMatchSetRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<CreateGeoMatchSetRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING, createGeoMatchSetRequest); protocolMarshaller.startMarshalling(); CreateGeoMatchSetRequestMarshaller.getInstance().marshall(createGeoMatchSetRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }