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